• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

Object Index

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.

Exactly one of the following fields are required: custom_unit, area_unit, length_unit, volume_unit, and weight_unit.

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.

length_unit
string

Represents a standard length unit.

volume_unit
string

Represents a standard volume unit.

weight_unit
string

Represents a standard unit of weight or mass.

generic_unit
string

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

time_unit
string

Represents a standard unit of time.

type
string

Represents the type of the measurement unit.

Share Feedback

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