The checkout object

The checkout object can be accessed in the order status page of the checkout. Shopify Plus merchants can also access properties of the checkout object in the checkout.liquid layout file.

The checkout object has the following attributes:

checkout.applied_gift_cards

Returns the gift cards applied to the checkout.

checkout.attributes

Returns the attributes of the checkout, that were captured in the cart.

checkout.billing_address

Returns the billing address of the checkout.

checkout.buyer_accepts_marketing

Returns whether the buyer accepted the newsletter during the checkout.

checkout.cart_level_discount_applications

Returns an array of any cart-specific discount applications for the checkout.