INVENTORY

Create item stock

Create a stock count for a single item.

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

Request

  • Base URL
    https://apisandbox.dev.clover.com
  • URL
    https://apisandbox.dev.clover.com/v3/merchants/{mId}/item_stocks/{itemId}
  • Auth
    HTTP bearer

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: <product> / <product-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.

Changes

No recorded changes to this operation across all 2 revisions of this API.