v1

latestOpenAPI 3.0.12026-07-242871595.3 MB
INVENTORY

Create item stock

Create a stock count for a single item.

post/v3/merchants/{mId}/item_stocks/{itemId}

Path parameters

mIdstring required

Merchant identifier.

itemIdstring required

Unique identifier of an item in the inventory.

Headers

User-Agentstring required

Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <AppName>/<Version> <Comment>

Request body

quantitynumber required

Initial count of this item in stock.

stockAlertThresholdnumber

The quantity threshold at which a low stock alert is triggered.

Response

Successful response. Item stock created.

stockCountinteger

Deprecated. Use quantity instead.

quantitynumber

Current count of the items in stock.

stockAlertThresholdnumber

The quantity threshold at which a low stock alert is triggered.

modifiedTimeinteger

Time when the item stock was modified.