PUT /purchase-return-items/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
adjustmentReasonId integer(int32) | null
Adjustment reason
-
createdAt string(date-time)
Created at
-
id integer(int32)
Id
-
Purchase item
-
Purchase return
-
Quantity
Default value is
0
. -
updatedAt string(date-time)
Updated at
PUT
/purchase-return-items/{id}.json
curl \
-X PUT http://api.example.com/v1/purchase-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","id":42,"purchaseItemId":42,"purchaseReturnId":42,"quantity":0,"updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"adjustmentReasonId": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"purchaseItemId": 42,
"purchaseReturnId": 42,
"quantity": 0,
"updatedAt": "2024-05-04T09:42:00+00:00"
}