Skip to main content

Input fields

numberOfUnits : Int! required

Number of units.

pricePerUnit : Int

Price per unit in smallest sub-unit of the currency. Only used if the product accepts arbitrary prices.

productCode : String! required

Products code to purchase.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "numberOfUnits": 24, "pricePerUnit": 16, "productCode": "arm-approach-rock-beautiful-skill" }