Subscribe to the Store events

Add subscription for a store events

Request
Request Body schema: application/json
callbackUrl
required
string <uri>

This URL will be called by the server when the desired event will occur

eventName
required
string

Event name for the subscription

Enum: "orderInProgress" "orderShipped" "orderDelivered"
Responses
201

Subscription added

Callbacks
postOrder in Progress (Summary)
putOrder in Progress (Only Description)
postVery long description Lorem ipsum dolor sit amet,
postOrder deliveredDeprecated
post/store/subscribe
Request samples
application/json
{}
Response samples
application/json
{
  • "subscriptionId": "AAA-123-BBB-456"
}
Callback payload samples
{
  • "orderId": "123",
  • "timestamp": "2018-10-19T16:46:45Z",
  • "status": "inProgress"
}