Create a stock check
Stock Checks
Create a stock check
Create a new stock check for a location. A stock check is a request to physically count the products held at a location and reconcile them against the system count. Creating a stock check also creates an associated task that operators can be assigned to. If a stock check is already pending for the supplied location, the existing one is returned instead of a duplicate being created.
POST
Create a stock check
Request Structure
Key Fields
| Field | Required | Description |
|---|---|---|
location_id | Yes | ID of the location whose stock will be counted |
expected_completion_date | Yes | ISO 8601 datetime by which the count is expected to be completed |
Behavior
- If a pending stock check already exists for the location, the existing one is returned and no new record is created.
- Otherwise a new stock check is created in
pendingstatus together with an associated task. - The response returns both the stock check ID and the ID of the associated task.
Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Body
application/json

