Alokai

updateCartMutation

Portion of the GraphQL query used in the updateCart API endpoint

updateCartMutation = "\n  mutation updateCart(
	\n    $id: String!,\n    $version: Long!,\n    $actions: [MyCartUpdateAction!]!,\n    $locale: Locale!,\n    $acceptLanguage: [Locale!],\n    $currency: Currency!,\n    $storeKey: KeyReferenceInput\n  
) {\n    cart: updateMyCart(id: $id,
	version: $version,
	actions: $actions,
	storeKey: $storeKey) {\n      ...DefaultCart\n    }\n  }\n"