Home > @vsf-enterprise/commercetools-api > getMyShoppingListDefaultQuery

# getMyShoppingListDefaultQuery variable

Default GraphQL query for the getMyShoppingList API endpoint

Signature:

getMyShoppingListDefaultQuery = "\n  query getMe($acceptLanguage: [Locale!], $currency: Currency!, $country: Country!) {\n    me {\n      shoppingLists(limit: 1, offset: 0) {\n        results {\n          id\n          version\n          lineItems {\n            id\n            quantity\n            name(acceptLanguage: $acceptLanguage)\n            productSlug(acceptLanguage: $acceptLanguage)\n            variant {\n              sku\n              price(currency: $currency, country: $country) {\n                tiers {\n                  value {\n                    centAmount\n                  }\n                }\n                value {\n                  centAmount\n                  currencyCode\n                }\n                discounted {\n                  value {\n                    centAmount\n                    currencyCode\n                  }\n                  discount {\n                    isActive\n                    name(acceptLanguage: $acceptLanguage)\n                  }\n                }\n              }\n              images {\n                url\n                label\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n"