Skip to main content
POST
Add stock to a product

Authorizations

Authorization
string
header
required

A store API key, sent as Authorization: Bearer <key>. Live keys are prefixed tbrn_live_. Keys are minted per store in the dashboard with an explicit scope set.

Path Parameters

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
text
string
required
Required string length: 1 - 5000000

Response

How many units were added, skipped as duplicates, and are now available.

added
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
skippedDuplicates
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
available
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991