Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

createMyOrderFromCartMutation

Portion of the GraphQL query used in the createMyOrderFromCart API endpoint

createMyOrderFromCartMutation = "\n  mutation createMyOrderFromCart(
	$draft: OrderMyCartCommand!,
	$locale: Locale!,
	$acceptLanguage: [Locale!],
	$currency: Currency!,
	$storeKey: KeyReferenceInput
) {\n    order: createMyOrderFromCart(draft: $draft,
	storeKey: $storeKey) {\n      ...DefaultOrder\n    }\n  }\n"