Developer referenceProvider contract
Stock & sync status
Distinguish connection status, product availability and stock evidence for a post.
Cast Motive documentation · Reviewed 9 November 2026
On this page
Fresh stock
For exact lookup, use ids for a simple product and variant_ids for a sellable variant. Return a fresh integer current_stock with Cache-Control: no-store. Include current price and currency for priced posts. Missing IDs, missing stock and quantities below the configured minimum hold eligibility.
Provider responses
| Status | Meaning |
|---|---|
| 200 | Valid collection. An empty collection provides no stock evidence. |
| 400 | Invalid IDs or page parameters. |
| 401 / 403 | Invalid credential or insufficient product-read access. |
| 404 | Endpoint unavailable. A missing individual ID is normally omitted from a valid lookup. |
| 429 | Rate limited. Respect Retry-After. |
| 5xx or timeout | Read unavailable. Retain the last saved checkpoint. |
Connection status
Cast Motive records read status and checkpoints for each connection. The website owner does not need to supply a separate sync status endpoint.