POST
/
v1
/
order
/
hold
curl --location --request POST 'https://api.stateset.network/v1/order/hold' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "",
    "reason": "Payment issue"
}'

{
  "success": 123
}

Body

id
string
This is the ID of the order to be placed on hold.
reason
string
This is the reason for placing the order on hold.

Response

success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request POST 'https://api.stateset.network/v1/order/hold' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "",
    "reason": "Payment issue"
}'