Contains the name and abbreviation for standard measurement unit.
Standard Unit Description
Name | Type | Tags | Description |
---|---|---|---|
unit |
Measurement Unit |
Optional | 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 . |
name |
string |
Optional | UI display name of the measurement unit. For example, 'Pound'. |
abbreviation |
string |
Optional | UI display abbreviation for the measurement unit. For example, 'lb'. |
{
"unit": {
"custom_unit": {
"name": "name0",
"abbreviation": "abbreviation2"
},
"area_unit": "IMPERIAL_ACRE",
"length_unit": "IMPERIAL_INCH",
"volume_unit": "METRIC_MILLILITER",
"weight_unit": "IMPERIAL_STONE"
},
"name": "name0",
"abbreviation": "abbreviation2"
}