Inventory Feed API
Push 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.
Get Pushed Inventory Run
Poll a background push with the same feed token. Returns 404 when the merchant has switched the supplier's inventory feed capability off.
List Feed Tokens
All of this supplier's feed tokens. Owners only (members get 403). Returns 404 when the merchant has switched the supplier's inventory feed capability off.
Create Feed Token
Creates a token that can only push stock. `plain_text_token` is shown once. At most 10 tokens per supplier. Owners only. Returns 404 when the merchant has switched the supplier's inventory feed capability off.
Revoke Feed Token
Revokes a feed token immediately. Owners only; another supplier's token is 404. Returns 404 when the merchant has switched the supplier's inventory feed capability off.