Push Inventory
POST/api/supplier-portal/feed/inventory
Push stock levels. Authenticate with a feed token (ability portal:inventory-feed) - a portal sign-in token gets 403. Each item needs supplier_sku or sku, and quantity; optional discontinued, eta (YYYY-MM-DD), warehouse (name; default warehouse when blank), cost and currency (costs become a catalog proposal). Bad items are quarantined, never failing the request. Up to 5,000 items per request; 60 requests per minute per token. Up to 200 items process inline (200); more process in the background (202) - poll Get Pushed Inventory Run with the same token. Returns 404 when the merchant has switched the supplier's inventory feed capability off.
Called by a B2B portal buyer with the bearer token POST /api/portal/auth/login returns (or the buyer's feed key) — not with a staff Personal Access Token.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Unprocessable Content
Response Headers
Too Many Requests