Object Index
You are viewing an old version of the API
MeasurementUnit
Object Index
You are viewing an old version of the API
Represents a unit of measurement to use with a quantity, such as ounces or inches.
Exactly one of the following fields are required: custom_unit
,
area_unit
, length_unit
, volume_unit
, and weight_unit
.
Properties
Name | Description |
---|---|
custom_
|
A custom unit of measurement defined by the seller using the Point of Sale app or ad-hoc as an order line item. |
area_
|
Represents a standard area unit. |
length_
|
Represents a standard length unit. |
volume_
|
Represents a standard volume unit. |
weight_
|
Represents a standard unit of weight or mass. |
generic_
|
Reserved for API integrations that lack the ability to specify a real measurement unit |
time_
|
Represents a standard unit of time. |
type
|
Represents the type of the measurement unit. |