application/json

Body Required

Responses

POST /sale-return-items.json
curl \
 --request POST 'http://api.example.com/v1/sale-return-items.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"adjustmentReasonId":42,"externalId":"string","merchantStatus":"approved","price":0,"purchaseItemId":42,"quantity":0,"quantityCancelled":0,"quantityRefunded":0,"quantityWrittenOff":0,"saleItemId":42,"saleReturnId":42,"vendorStatus":"pending","warehouseId":42}'
Request examples
{
  "adjustmentReasonId": 42,
  "externalId": "string",
  "merchantStatus": "approved",
  "price": 0,
  "purchaseItemId": 42,
  "quantity": 0,
  "quantityCancelled": 0,
  "quantityRefunded": 0,
  "quantityWrittenOff": 0,
  "saleItemId": 42,
  "saleReturnId": 42,
  "vendorStatus": "pending",
  "warehouseId": 42
}
Response examples (200)
{
  "adjustmentReasonId": 42,
  "createdAt": "2025-05-04T09:42:00Z",
  "externalId": "string",
  "id": 42,
  "merchantStatus": "approved",
  "price": 0,
  "purchaseItemId": 42,
  "quantity": 0,
  "quantityCancelled": 0,
  "quantityRefunded": 0,
  "quantityWrittenOff": 0,
  "saleItemId": 42,
  "saleReturnId": 42,
  "updatedAt": "2025-05-04T09:42:00Z",
  "vendorStatus": "pending",
  "warehouseId": 42
}