DEV

Type.

CartHistoryLine

No description

Fields

amountToCharge

Decimal!

Required

How much this line adds on top of what was already quoted. A charge that shrinks between quotes reports 0 rather than turning into a refund. Discounts and credits carry a negative amount: one granted for the first time reports the full credit, and a shrinking credit reports 0. Can therefore be negative.

currentAmount

Decimal!

Required

No description

description

String!

Required

No description

formula

String

The calculation formula for this line, when available (e.g. for invoicing/reporting).

itemId

ID

Null for non-item lines such as carrier fees.

lineType

String!

Required

DUTY, TAX, or FEE

priorAmount

Decimal!

Required

No description

type

String!

Required

e.g. 'item', 'carrier', 'duty_processing'
Book a demo

Was this page helpful?