Skip to main content
POST
/
2025-09
/
webhook_endpoints
/
{webhook_endpoint_id}
/
enable
Enable a Webhook Endpoint
curl --request POST \
  --url https://public-api.stora.co/2025-09/webhook_endpoints/{webhook_endpoint_id}/enable \
  --header 'Authorization: Bearer <token>'
{
  "endpoint": {
    "id": "we_195h6kfm9ro15lof",
    "api_version": "2025-09",
    "created_at": "2025-02-22T14:41:00Z",
    "creator": {
      "id": "staff_06778802edebb94d"
    },
    "description": "Test webhook endpoint",
    "disabled_at": null,
    "event_types": [
      "credit_note.created"
    ],
    "metadata": {},
    "name": "My Webhook",
    "secret": null,
    "status": "enabled",
    "updated_at": "2025-02-22T14:41:00Z",
    "url": "https://example.com/webhook"
  },
  "meta": {
    "request_id": "01563646-58c1-4607-8fe0-cae3e92c4477",
    "curies": [
      {
        "name": "bo",
        "href": "https://app.stora.test{rel}",
        "templated": true,
        "title": "Backoffice"
      },
      {
        "name": "sf",
        "href": "https://acme.stora.test{rel}",
        "templated": true,
        "title": "Storefront"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer Token necessary to use API

Path Parameters

webhook_endpoint_id
string
required

The ID of the webhook endpoint to enable

Response

enable webhook endpoint

Single Webhook Endpoint

endpoint
object

Webhook Endpoint

meta
object