Alokai

addMultipleToMyShoppingListDefaultQuery

Default GraphQL query for the addMultipleToMyShoppingList API endpoint

addMultipleToMyShoppingListDefaultQuery = "\n  mutation updateShoppingList(
	$id: String!,
	$version: Long!,
	$actions: [MyShoppingListUpdateAction!]!,
	$acceptLanguage: [Locale!],
	$currency: Currency!,
	$country: Country!,
	$customerGroupId: String
) {\n    wishlist: updateMyShoppingList(id: $id,
	version: $version,
	actions: $actions) {\n      id\n      version\n      lineItems {\n        id\n        quantity\n        name(acceptLanguage: $acceptLanguage)\n        variant {\n          sku\n          price(currency: $currency,
	country: $country,
	customerGroupId: $customerGroupId) {\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"