Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Files

Latest commit

c63cb87 · Oct 23, 2019

History

History
22 lines (15 loc) · 1.7 KB

MeasurementUnit.md

File metadata and controls

22 lines (15 loc) · 1.7 KB

MeasurementUnit

Description

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. Note: This model is in beta.

Properties

Name Type Description Notes
customUnit MeasurementUnitCustom A custom unit of measurement defined by the seller using the Point of Sale app or ad-hoc as an order line item. [optional]
areaUnit String Represents a standard area unit. See MeasurementUnitArea for possible values [optional]
lengthUnit String Represents a standard length unit. See MeasurementUnitLength for possible values [optional]
volumeUnit String Represents a standard volume unit. See MeasurementUnitVolume for possible values [optional]
weightUnit String Represents a standard unit of weight or mass. See MeasurementUnitWeight for possible values [optional]
genericUnit String Reserved for API integrations that lack the ability to specify a real measurement unit See MeasurementUnitGeneric for possible values [optional]
timeUnit String Represents a standard unit of time. See MeasurementUnitTime for possible values [optional]
type String Represents the type of the measurement unit. See MeasurementUnitUnitType for possible values [optional]