POST /stock-take-items.json
Body Required
-
Actual
Default value is
0
. -
adjustmentId integer(int32) | null
Adjustment
-
adjustmentReasonId integer(int32) | null
Adjustment reason
-
Expected
Default value is
0
. -
notes string | null
Notes
-
Stock take
-
Variant
POST
/stock-take-items.json
curl \
-X POST http://api.example.com/v1/stock-take-items.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"actual":0,"adjustmentId":42,"adjustmentReasonId":42,"expected":0,"notes":"string","stockTakeId":42,"variantId":42}'
Request example
{
"actual": 0,
"adjustmentId": 42,
"adjustmentReasonId": 42,
"expected": 0,
"notes": "string",
"stockTakeId": 42,
"variantId": 42
}
Response examples (200)
{
"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
}