querystring
Editable GraphQL query sent to the Storefront API.
Default "query BCGetCart($entityId: String!) {\n site {\n cart(entityId: $entityId) {\n entityId\n lineItems {\n physicalItems {\n entityId name quantity sku\n imageUrl\n originalPrice { value currencyCode }\n salePrice { value currencyCode }\n extendedSalePrice { value currencyCode }\n selectedOptions { name value }\n }\n digitalItems { entityId name quantity originalPrice { value currencyCode } }\n giftCertificates { entityId name amount { value currencyCode } }\n }\n amount { value currencyCode }\n discountedAmount { value currencyCode }\n discounts { entityId discountedAmount { value currencyCode } }\n coupons { entityId code discountedAmount { value currencyCode } }\n currencyCode\n isTaxIncluded\n locale\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