Body
Required
-
adjustmentReasonId
integer(int32) | null Adjustment reason
-
purchaseItemId
integer(int32) Required Purchase item
-
purchaseReturnId
integer(int32) Required Purchase return
-
quantity
integer(int32) Required Quantity
Default value is
0
.
POST
/purchase-return-items.json
curl \
--request POST 'http://api.example.com/v1/purchase-return-items.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"adjustmentReasonId":42,"purchaseItemId":42,"purchaseReturnId":42,"quantity":0}'
Request examples
{
"adjustmentReasonId": 42,
"purchaseItemId": 42,
"purchaseReturnId": 42,
"quantity": 0
}
Response examples (200)
{
"adjustmentReasonId": 42,
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"purchaseItemId": 42,
"purchaseReturnId": 42,
"quantity": 0,
"updatedAt": "2025-05-04T09:42:00Z"
}