Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
Body
Required
-
createdAt
string(date-time) Created at
-
id
integer(int32) Id
-
notes
string | null Notes
-
reference
string Required Reference
-
status
string Required Status
Values are
pending
,approved
,cancelled
,committing
, orcommitted
. Default value ispending
. -
updatedAt
string(date-time) Updated at
-
userId
integer(int32) | null User
-
warehouseId
integer(int32) Required Warehouse
PUT
/stock-takes/{id}.json
curl \
--request PUT 'http://api.example.com/v1/stock-takes/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"createdAt":"2025-05-04T09:42:00Z","id":42,"notes":"string","reference":"string","status":"pending","updatedAt":"2025-05-04T09:42:00Z","userId":42,"warehouseId":42}'
Request examples
{
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"notes": "string",
"reference": "string",
"status": "pending",
"updatedAt": "2025-05-04T09:42:00Z",
"userId": 42,
"warehouseId": 42
}