Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Canal webhooks API

The webhooks API from Canal — 2 operation(s) for webhooks.

Canal webhooks API is one of 17 APIs that Canal publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include webhooks. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 6 operations across 2 paths, and defines 6 schemas. It is described by OpenAPI 3.0.3, at version 1.0.1.

Requests are made against a single base URL, https://api.shopcanal.com/platform.

6 operations 2 paths 6 schemas 1 DELETE2 GET1 PATCH1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.1
Base URL
https://api.shopcanal.com/platform
Authentication
HTTP Basic, API Key, API Key
Resource Areas
1

Authentication & Security 3

Canal webhooks API declares 3 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). An API key is passed in the header as X-CANAL-APP-ID (platformAppId). An API key is passed in the header as X-CANAL-APP-TOKEN (platformAppToken).

Paths & Operations 6

Across 2 paths, the API surfaces 6 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

webhooks 6
GET
/webhooks/
Retrieve a paginated list of all webhook subscriptions currently registered and active for the authenticated application (identified by the API credentials used in the request). The response (Registe…
webhooks_list 1 param → 200400401404
POST
/webhooks/
Register a new endpoint URL to receive notifications (webhooks) from Rokt Catalog when specific events occur related to your store. The request body (CreateUpdateWebhookSerializer) requires: topic: A…
webhooks_create body → 201400401404
GET
/webhooks/{id}/
Retrieve the details for a single, specific webhook subscription, identified by its Rokt Catalog ID (UUID) provided in the URL path. Access is restricted to subscriptions belonging to the authenticat…
webhooks_retrieve 1 param → 200400401404
PUT
/webhooks/{id}/
Update the configuration of an existing webhook subscription. Identify the subscription by its Rokt Catalog ID (UUID) in the URL path. The request body (CreateUpdateWebhookSerializer) can include the…
webhooks_update 1 param body → 200400401404
PATCH
/webhooks/{id}/
webhooks_partial_update 1 param body → 200
DELETE
/webhooks/{id}/
Permanently remove an existing webhook subscription, identified by its Rokt Catalog ID (UUID) in the URL path. Access is restricted to subscriptions belonging to the authenticated application. Once d…
webhooks_destroy 1 param → 200400401404

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are PatchedRegisteredWebhook (5 properties), RegisteredWebhook (5 properties), PaginatedRegisteredWebhookList (3 properties), Error (2 properties). Each schema is shown below with its type and property counts.

RegisteredWebhook
object
5 properties 5 required
CreateUpdateWebhook
object
2 properties 2 required
TopicEnum
string
order/create - order/create order/update - order/update order/cancel - order/cancel product/create - product/create product/update - product/update fulfillment…
PaginatedRegisteredWebhookList
object
3 properties 1 required
PatchedRegisteredWebhook
object
5 properties
Error
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

canal-webhooks-api-openapi.yml Raw ↑

Other APIs Canal publishes across the network.

Canal csv API
Canal fulfillments API
Canal markets API
Canal max-shipping-rates API
Canal orders API
Canal product_sets API
Canal products API
Canal refunds API
Canal returns API
Canal selection API
Canal shipping API
Canal shipping-rates API