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"
post
/store/subscribe
Request samples
application/json
{ "callbackUrl": "https://myserver.com/send/callback/here", "eventName": "orderInProgress" }
Responses

201

Subscription added

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