Skip to content

order object

A completed order. Available in the thankyou and upsell templates.

Properties


NameTypeDescription
idstringOrder identifier
paymentStatusstringHuman-readable payment status
paymentStatusSlugstringMachine-readable payment status slug
gatewayTypestringPayment gateway used
shippingCoststringShipping cost. 0 or null means free shipping
sub_totalnumberOrder items subtotal
totalnumberOrder total, including VAT, shipping, and any coupon discount
total_tax_amountnumberTotal tax amount
vatnumberVAT rate as a fraction (for example, 0.2 for 20%)
order_variantsarray of order_variant objectThe purchased product variants
couponcoupon object or nullThe coupon applied to the order, if any
bundlesarrayBundles included in the order
metafieldsarrayOrder metafields