QuantityInput

Version 2024-01-01

📘

Important

The Buy with Prime API is offered as a preview and might change as we receive feedback and iterate on the interfaces. We are sharing this early documentation to help you learn about the Buy with Prime API as we write and iterate on the content.

Overview

Represents the quantity information of an item

Arguments

ArgumentDescription
amount (Decimal required)

Amount of the item.

unit (String)

Unit of measure.

The size should be greater than or equal to 0 and less than or equal to 64.