Resolve failed stock check records
Stock Checks
Resolve failed stock check records
Resolve one or more failed stock check records by attaching a reason code to explain the discrepancy. Once every failed record on a stock check has been resolved, the stock check itself transitions from failed to resolved. This endpoint does NOT use JSON:API format.
POST
Resolve failed stock check records
Request Structure
Key Fields
| Field | Required | Description |
|---|---|---|
stock_check_record_ids | Yes | IDs of the failed stock check records to resolve (must contain at least one) |
reason_code_id | Yes | ID of an active reason code of type stock_check |
Behavior
- Each record’s latest attempt must be a failure and the record must not already be resolved, otherwise 422 is returned.
- The reason code must exist, be of type
stock_check, and be active. - When every failed record on a stock check has been resolved, the stock check’s status changes from
failedtoresolved. - Returns 204 No Content on success.
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
Response
Operation completed successfully with no content to return

