id. This area has 2 endpoints, each available in all seven SDKs.
At a glance
Before you call
Register your API credentials once when your app starts, as shown in Authentication. Every SDK sample on these pages then gets its client in one line. With cURL, send the access token in anAuthorization header: Authorization: Bearer $ACCESS_TOKEN.
Things to know
- Quantities are strings.
adjustment_amountand everyquantity_*field arrive as text, so convert them before doing arithmetic. - Adjustments are read only. These endpoints only read adjustments. One is created when stock is added through
POST /items/{item_id}/inventory/add. - One adjustment comes back under
inventory_adjustment. The listing puts its records underdata. - The listing pages by cursor. Pass
limit, then send thenext_cursorfrompaginationascursoruntilhas_moreisfalse.