All objects

Quantity

{
  "amount": 3,
  "unit": "PIECE"
}
amount
number

Numeric value representing the quantity amount.

unit
enum<string> | null

Unit of measure for the quantity, such as pieces or grams. If not given, the default unit of measure applies, which is pieces unless agreed otherwise.

Available options: PIECE, GRAM, KILOGRAM