Object Index / Definition

You are viewing an old version of the API
MeasurementUnit

Beta

Represents a unit of measurement to use with a quantity, such as ounces or inches.

Properties

Name Description
custom_unit
MeasurementUnitCustom

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

area_unit
string

Represents a standard area unit. See MeasurementUnitArea for possible values

length_unit
string

Represents a standard length unit. See MeasurementUnitLength for possible values

volume_unit
string

Represents a standard volume unit. See MeasurementUnitVolume for possible values

weight_unit
string

Represents a standard unit of weight or mass. See MeasurementUnitWeight for possible values

generic_unit
string

Reserved for API integrations that lack the ability to specify a real measurement unit See MeasurementUnitGeneric for possible values

time_unit
string

Represents a standard unit of time. See MeasurementUnitTime for possible values

type
string

Represents the type of the measurement unit. See MeasurementUnitUnitType for possible values

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?