Create stock item

Create a stock item and return its product ID.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Name or description of the item.

string | null
Defaults to null

A unique part number to identify the item. If omitted, the system generates one according to numbering settings.

integer | null
Defaults to null

ID of the unit of measurement.

integer | null
Defaults to null

ID of the product group.

boolean
Defaults to false

Shows if this is a raw material that is bought from vendors.

boolean
Defaults to false

Shows if this item is not for sale.

boolean
Defaults to true

Shows whether this is an inventory item.

boolean
Defaults to false

Shows whether this item's MOs should be separate from the nested multi-level MOs of the top-level product.

string | null
Defaults to null

Minimum manufacturing order quantity. Decimal number as a string.

string | null
Defaults to null

Selling price per unit.

Minimum stock quantity threshold per site. Can be a single decimal value applied to all sites, or an array of per-site quantities.

Default storage location. Can be a single integer location ID applied to the default site, or an array of per-site locations.

string | null
Defaults to null

Barcode of the item (if "Barcodes" functionality is enabled).

string | null
Defaults to null

Weight of the item (if "Packing" functionality is enabled). Decimal number as a string.

integer | null
enum
Defaults to null

ID of weight unit (if "Packing" functionality is enabled).

  • 1 - g
  • 2 - oz
  • 3 - lbs
  • 4 - kg
Allowed:
string | null
Defaults to null

Revision of the stock item (if "Version Control System" is enabled).

boolean
Defaults to false

Shows whether this item must pass quality inspection when received (if "Quality Control" is enabled).

integer | null
Defaults to null

The number of days the goods will be on hold for quality inspection (if "Quality Control" is enabled and "quality_control" is true).

boolean
Defaults to false

Shows whether this item has serial numbers (if "Serial Numbers" is enabled).

integer | null
Defaults to null

The number of days before the goods expire (if "Version Control System" is enabled).

custom_values
array of objects | null
Defaults to null

Custom values.

custom_values
Responses

401

Unauthorized

429

Too many requests

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json