POST /sale-return-items.json

POST /sale-return-items.json
application/json

Body Required

Responses

POST /sale-return-items.json
curl \
 -X POST http://api.example.com/v1/sale-return-items.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"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 example
{
  "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": "2024-05-04T09:42:00+00:00",
  "externalId": "string",
  "id": 42,
  "merchantStatus": "approved",
  "price": 0,
  "purchaseItemId": 42,
  "quantity": 0,
  "quantityCancelled": 0,
  "quantityRefunded": 0,
  "quantityWrittenOff": 0,
  "saleItemId": 42,
  "saleReturnId": 42,
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "vendorStatus": "pending",
  "warehouseId": 42
}