AmountInput

📘

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 amount information of an item

Arguments

ArgumentDescription
unit (String)

Unit of measure for the amount.

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

value (Decimal required)

The numeric value of the amount. This represents the associated quantity or measure.