PUT /adjustments/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
adjustmentReasonId integer(int32) | null
Adjustment reason
-
Automated import
Default value is
false
. -
Cost price
Default value is
0
. -
createdAt string(date-time)
Created at
-
dataImportId integer(int32) | null
Data import
-
id integer(int32)
Id
-
notes string | null
Notes
-
Quantity
-
stockTakeItemId integer(int32) | null
Stock take item
-
updatedAt string(date-time)
Updated at
-
userId integer(int32) | null
User
-
Variant
-
Warehouse
-
xeroId string | null
Xero
PUT /adjustments/{id}.json
curl \
-X PUT http://api.example.com/v1/adjustments/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"adjustmentReasonId":42,"automatedImport":false,"costPrice":0,"createdAt":"2024-05-04T09:42:00+00:00","dataImportId":42,"id":42,"notes":"string","quantity":42,"stockTakeItemId":42,"updatedAt":"2024-05-04T09:42:00+00:00","userId":42,"variantId":42,"warehouseId":42,"xeroId":"string"}'
Request example
{
"adjustmentReasonId": 42,
"automatedImport": false,
"costPrice": 0,
"createdAt": "2024-05-04T09:42:00+00:00",
"dataImportId": 42,
"id": 42,
"notes": "string",
"quantity": 42,
"stockTakeItemId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00",
"userId": 42,
"variantId": 42,
"warehouseId": 42,
"xeroId": "string"
}