younifyd
Menu

Storefront: Get Checkout

Get checkout details including tax, shipping, and grand total for a BigCommerce cart — the query is editable, so you decide exactly what comes back

Use it in a workflow

  1. Add a step and choose the BigCommerce Storefront connector.
  2. Pick the Storefront: Get Checkout action (under bigcommerce).
  3. Fill in the fields below, then reference the result from later steps as {{storefrontGetCheckout.response.data}}.

Fields

querystring

Editable GraphQL query sent to the Storefront API.

Default "query BCGetCheckout($entityId: String!) {\n site {\n checkout(entityId: $entityId) {\n entityId\n shippingCostTotal { value currencyCode }\n handlingCostTotal { value currencyCode }\n taxTotal { value currencyCode }\n subtotal { value currencyCode }\n grandTotal { value currencyCode }\n giftCertificates { code balance { value currencyCode } }\n promotions { bannerText }\n cart {\n entityId\n lineItems {\n physicalItems { entityId name quantity extendedSalePrice { value currencyCode } }\n }\n amount { value currencyCode }\n discountedAmount { value currencyCode }\n }\n }\n }\n}"

variablesstring

JSON object of query variables — set entityId to the cart ID.

Default "{\n \"entityId\": \"b20d7fba-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}"

fullResponseboolean

Return BigCommerce's whole { data, errors } body and status unchanged — for passing a response straight back to a GraphQL client. When off, data is unwrapped (read fields at response.data.<field>) and GraphQL errors fail the step.

Default false

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded to BigCommerce. Headers below override forwarded ones.

Default false

headerskeyvalue

HTTP headers to include in the request to BigCommerce

Need more? See the BigCommerce Storefront guide for connection setup and behaviour shared by every action.