Order Item Status Update Webhooks

Order Items Shipped Webhook

post

This is a dummy endpoint that demonstrates the webhook payload structure that will be sent to webhook subscribers when an order_items.shipped event occurs.

The actual webhooks will be sent asynchronously to the URLs specified in the webhook subscriptions that are subscribed to the order_items.shipped event type.

The webhook payload includes:

  • id: ID of the webhook message

  • event: The event type (order_items.shipped)

  • timestamp: When the event occurred

  • subscription_id: ID of the webhook subscription

  • message: The shipment data in the same format as the GET /shipments/{id} endpoint

Authorizations
X-API-KeystringRequired
Body
idany ofOptional
integerOptional
or
nullOptional
eventconst: order_items.shippedRequired

Event type of webhook message

timestampstring · date-timeOptional
subscription_idany ofOptional

ID of the subscription

integer · min: 1Optional

ID (integer) of this property

Example: 1
or
nullOptional
Responses
chevron-right
200

OK

No content

post
/api/v1/webhooks/order-items-shipped
200

OK

No content

Order Items Cancelled Webhook

post

This is a dummy endpoint that demonstrates the webhook payload structure that will be sent to webhook subscribers when an order_items.cancelled event occurs.

The actual webhooks will be sent asynchronously to the URLs specified in the webhook subscriptions that are subscribed to the order_items.cancelled event type.

The webhook payload includes:

  • id: ID of the webhook message

  • event: The event type (order_items.cancelled)

  • timestamp: When the event occurred

  • subscription_id: ID of the webhook subscription

  • message: The shipment data in the same format as the GET /shipments/{id} endpoint

Authorizations
X-API-KeystringRequired
Body
idany ofOptional
integerOptional
or
nullOptional
eventconst: order_items.cancelledRequired

Event type of webhook message

timestampstring · date-timeOptional
subscription_idany ofOptional

ID of the subscription

integer · min: 1Optional

ID (integer) of this property

Example: 1
or
nullOptional
Responses
chevron-right
200

OK

No content

post
/api/v1/webhooks/order-items-cancelled
200

OK

No content

Order Items Returned Webhook

post

This is a dummy endpoint that demonstrates the webhook payload structure that will be sent to webhook subscribers when an order_items.returned event occurs.

The actual webhooks will be sent asynchronously to the URLs specified in the webhook subscriptions that are subscribed to the order_items.returned event type.

The webhook payload includes:

  • id: ID of the webhook message

  • event: The event type (order_items.returned)

  • timestamp: When the event occurred

  • subscription_id: ID of the webhook subscription

  • message: The shipment data in the same format as the GET /shipments/{id} endpoint

Authorizations
X-API-KeystringRequired
Body
idany ofOptional
integerOptional
or
nullOptional
eventconst: order_items.returnedRequired

Event type of webhook message

timestampstring · date-timeOptional
subscription_idany ofOptional

ID of the subscription

integer · min: 1Optional

ID (integer) of this property

Example: 1
or
nullOptional
Responses
chevron-right
200

OK

No content

post
/api/v1/webhooks/order-items-returned
200

OK

No content

Last updated

Was this helpful?