Skip to main content

Subscribe to the Store events

Add subscription for a store events

Request Body
callbackUrl uri REQUIRED

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

eventName string REQUIRED

Possible values: [orderInProgress, orderShipped, orderDelivered]

Event name for the subscription

Responses
201

Subscription added

Schema OPTIONAL
subscriptionId string OPTIONAL
POST /store/subscribe
Body
Loading...
//petstore.swagger.io/v2
curl -L -X POST '//petstore.swagger.io/v2/store/subscribe' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'