Body
Required
payload
object | null | array | boolean | integer | number | string Payload
response
object | null | array | boolean | integer | number | string Response
-
saleReturnId
integer(int32) Required Sale return
-
status
string | null Required Status
Values are
error
orsuccess
. Default value issuccess
.
POST
/sale-return-payloads.json
curl \
--request POST 'http://api.example.com/v1/sale-return-payloads.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"payload":{},"response":{},"saleReturnId":42,"status":"success"}'
Request examples
{
"payload": {},
"response": {},
"saleReturnId": 42,
"status": "success"
}
Response examples (200)
{
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"payload": {},
"response": {},
"saleReturnId": 42,
"status": "success",
"updatedAt": "2025-05-04T09:42:00Z"
}