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

# createMyShoppingListDefaultQuery variable

Default GraphQL query for the createMyShoppingList API endpoint

Signature:

createMyShoppingListDefaultQuery = "\n  mutation createMyShoppingList($draft: MyShoppingListDraft!, $acceptLanguage: [Locale!], $currency: Currency!, $country: Country!) {\n    wishlist: createMyShoppingList(draft: $draft) {\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"