POST /sale-return-payloads.json
Body Required
-
Sale return
-
Status
Values are
error
orsuccess
. Default value issuccess
.
POST
/sale-return-payloads.json
curl \
-X POST http://api.example.com/v1/sale-return-payloads.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"payload":{},"response":{},"saleReturnId":42,"status":"success"}'
Request example
{
"payload": {},
"response": {},
"saleReturnId": 42,
"status": "success"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"payload": {},
"response": {},
"saleReturnId": 42,
"status": "success",
"updatedAt": "2024-05-04T09:42:00+00:00"
}