SKUs can have a price for each price list. When you create a line item, it gets the price associated with the order's price list.
Price values (amount_cents and compare_at_amount_cents) must be expressed in cents with the only exception of HUF and JPY currencies which do not have decimals (e.g. 100$ → "amount_cents": 10000, 100Ft → "amount_cents": 100, 100¥ → "amount_cents": 100).
The price object
A price object is returned as part of the response body of each successful list, retrieve, create or update API call.
The price unique identifier
The price endpoint URL
The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated price list.
The code of the associated SKU. When creating a price, either a valid sku_code or a SKU relationship must be present.
The SKU price amount for the associated price list, in cents (except for HUF and JPY currencies).
The SKU price amount for the associated price list, float.
The SKU price amount for the associated price list, formatted.
The compared price amount, in cents. Useful to display a percentage discount (except for HUF and JPY currencies).
The compared price amount, float.
The compared price amount, formatted.
Time at which the resource was created.
Time at which the resource was last updated.
A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.
Any identifier of the third party system that defines the reference code
Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format.
The associated price list.
The associated SKU. When creating a price, either a SKU relationship or a valid sku_code must be present.
The associated attachments.
The resource environment (can be one of test or live)