Body
This is the ID of the order to be returned.
This is the reason for returning the order.
Response
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request POST 'https://api.stateset.network/v1/order/return' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "",
"reason": "Incorrect item received"
}'
{
"success": 123
}This endpoint returns an order.
curl --location --request POST 'https://api.stateset.network/v1/order/return' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "",
"reason": "Incorrect item received"
}'
{
"success": 123
}curl --location --request POST 'https://api.stateset.network/v1/order/return' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "",
"reason": "Incorrect item received"
}'