Inventory
Receive inventory (non-PO) -- single or multi-item atomic
ATOMIC-CREATE (2026-05-12): accepts items[] for multi-line atomic receipts OR
top-level product_id/quantity/unit_cost for single-item compat mode.
All items receive in one DB transaction; any failure rolls back all items.
Hard-blocks zero-cost (unit_cost must be > 0 per item).
GL: DR Inventory / CR GRNI via postInventoryReceived, fires per item in same transaction (Rule 21).
Connector: triggers async pushInventoryToMarketplaces (Shopify/Amazon/eBay).
For PO-linked receipts: POST /v1/purchase-orders/{id}/receive.
Response: {object:inventory_receive_result, items:[{balance,transaction}], summary} for items[]; single object for compat mode.
POST
Authorizations
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Headers
Client-generated unique key for idempotent POST/PATCH/DELETE operations. Alias for the Idempotency parameter. Max 255 chars. On retry with the same key, the original response is returned without re-executing the operation. Keys expire after 24 hours.
Maximum string length:
255Body
application/json
Response
Inventory received
Available options:
inventory_receive_result 
