Webhooks
Products
Inventory
Orders
- POSTCancel one Shipment by Shipment Id
- GETGet one Shipment's status timeline by Shipment Id
- GETGet Orders
- POSTCreate Order
- GETGet one Shipment by Order Id and Shipment Id
- GETGet logs for one Shipment by Shipment Id
- GETGet all Shipments for Order
- GETGet one Shipment's status timeline by Order Id and Shipment Id
- GETGet one Shipment by Shipment Id
- PUTUpdate a Shipment
- GETGet logs for one Shipment by Order Id and Shipment Id
- POSTCancel multiple Shipments by Shipment Id
- POSTEstimate Fulfillment Cost For Order
- GETGet shipping methods
- POSTCancel single Order by Order ID
- GETGet Order Store Json
- POSTSave the Store Order Json
- GETGet Order
- POSTCancel one Shipment by Order Id and Shipment Id
Locations
Receiving
- GETGet Fulfillment Centers
- GETGet Warehouse Receiving Order Box Labels (DEPRECATED)
- POSTCancel Warehouse Receiving Order (DEPRECATED)
- GETGet a Warehouse Receiving Order by Purchase Order Number (DEPRECATED)
- POSTCreate Warehouse Receiving Order (DEPRECATED)
- GETGet Warehouse Receiving Order (DEPRECATED)
Returns
Channels
Webhooks
Create a new webhook subscription
Webhooks
Create a new webhook subscription
POST
/
webhook
curl --request POST \
--url https://api.shipbob.com/1.0/webhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"subscription_url": "https://mywebsite.com/shipbob/handler",
"topic": "order_shipped"
}'
{
"created_at": "2019-08-24T14:15:22Z",
"id": 12345,
"subscription_url": "http://example.com",
"topic": "order_shipped"
}
Authorizations
Authentication using Personal Access Token (PAT) token
Headers
Body
application/json
Response
201
application/json
Success
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.shipbob.com/1.0/webhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"subscription_url": "https://mywebsite.com/shipbob/handler",
"topic": "order_shipped"
}'
{
"created_at": "2019-08-24T14:15:22Z",
"id": 12345,
"subscription_url": "http://example.com",
"topic": "order_shipped"
}