PUT /sale-return-items/{id}.json

PUT /sale-return-items/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /sale-return-items/{id}.json
curl \
 -X PUT http://api.example.com/v1/sale-return-items/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"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}'
Request example
{
  "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
}