<- Object

Object

MeasurementUnit

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.

Link to section

Properties

Link to section

custom_unit

A custom unit of measurement defined by the seller using the Point of Sale app or ad-hoc as an order line item.

Link to section

area_unit

string

Represents a standard area unit.

Link to section

length_unit

string

Represents a standard length unit.

Link to section

volume_unit

string

Represents a standard volume unit.

Link to section

weight_unit

string

Represents a standard unit of weight or mass.

Link to section

generic_unit

string

Reserved for API integrations that lack the ability to specify a real measurement unit

Link to section

time_unit

string

Represents a standard unit of time.

Link to section

type

string

Represents the type of the measurement unit.