Object Index / Definition

You are viewing an old version of the API
Measurement​Unit

Beta

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
area_unit
string

Represents a standard area unit.

custom_unit
Measurement​Unit​Custom

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

generic_unit
string

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

length_unit
string

Represents a standard length unit.

time_unit
string

Represents a standard unit of time.

type
string

Represents the type of the measurement unit.

volume_unit
string

Represents a standard volume unit.

weight_unit
string

Represents a standard unit of weight or mass.

Share Feedback

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