POST /updateStoreStatus

This allows a channel to inform Deliverect of any change to a store's status.

application/json

Body

  • status string Required
  • reason string Required

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • status string Required
    • reason string Required
POST /updateStoreStatus
curl \
 --request POST 'https://api.staging.deliverect.com/updateStoreStatus' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"reason":"Too many failed orders","status":"closed"}'
Request examples
{
  "reason": "Too many failed orders",
  "status": "closed"
}
Response examples (200)
[
  {
    "message": "Changed store status"
  }
]