Add a new InventoryUnit

Add a new InventoryUnit

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

InventoryUnit object that needs to be added.

boolean
Defaults to true

Status of whether the Inventory Unit resource is active

string
length ≤ 200

Alphanumeric barcode. Must be unique in a given Establishment and can not exceed 200 characters.

string
required

This is an optional field. It provides a relative value in conjunction with the conversion unit. It is suggested to use “qty_in_units” which provides the absolute value. Valid up to 4 decimal places and greater than 0.

uri
required

String uri resource of the enterprise user that created the inventory unit resource.

date-time

ISO 8601 Date and time timestamp when Inventory Unit object was created

string
length ≤ 64

Key for the Unit. Also related with the name.

string
required
length ≤ 64

Name of the Unit.

boolean
Defaults to false

Primary key of unit used.

uri
required

Expects URI of a Product resource. Specifies the product that is being returned to inventory unit.

string

Absolute quantity based on the key of the unit. Value is up to 4 decimal places greater than 0.

uri
required

URI of the enterprise user that updated the inventory unit resource.

date-time

ISO 8601 Date and time timestamp when InventoryUnit object was updated

Responses

400

Bad request. Usually caused by invalid request body.

401

Authentication error - make sure the API key & secret is valid, active and provided in the "API-AUTHENTICATION" header.

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