POST /{channelName}/updateStoreStatus/{channelLinkId}

Path parameters

  • channelName string Required
  • channelLinkId string Required
application/json

Body

  • status string Required
  • reason string Required

Responses

  • 200 application/json

    Successful response

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