Create an object

Add a unit of measure to an item, with its conversion factor and prices.

Body Params

The payload to create or update a unit of measure of an item.

double

The conversion factor relative to the base unit.

boolean

Whether this unit of measure is active.

boolean

Whether this is the base unit of measure for the item.

boolean

Whether this is the default unit for purchases.

boolean

Whether this is the default unit for sales.

string
required

The item this unit of measure belongs to.

double | null

The unit cost for this unit of measure.

string
required

The unit of measure.

double | null

The unit price for this unit of measure.

Response

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