PUT /stock-take-items/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
Actual
Default value is
0
. -
adjustmentId integer(int32) | null
Adjustment
-
adjustmentReasonId integer(int32) | null
Adjustment reason
-
createdAt string(date-time)
Created at
-
Expected
Default value is
0
. -
id integer(int32)
Id
-
notes string | null
Notes
-
Stock take
-
updatedAt string(date-time)
Updated at
-
Variant
PUT /stock-take-items/{id}.json
curl \
-X PUT http://api.example.com/v1/stock-take-items/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"actual":0,"adjustmentId":42,"adjustmentReasonId":42,"createdAt":"2024-05-04T09:42:00+00:00","expected":0,"id":42,"notes":"string","stockTakeId":42,"updatedAt":"2024-05-04T09:42:00+00:00","variantId":42}'
Request example
{
"actual": 0,
"adjustmentId": 42,
"adjustmentReasonId": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"expected": 0,
"id": 42,
"notes": "string",
"stockTakeId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00",
"variantId": 42
}