checkoutCustomerDisassociate method
Future<void>
checkoutCustomerDisassociate(
- String checkoutId
)
Disassociates the Customer from the Checkout that checkoutId belongs to.
Implementation
Future<void> checkoutCustomerDisassociate(String checkoutId) async {
final MutationOptions _options = MutationOptions(
document: gql(checkoutCustomerDisassociateMutation),
variables: {'id': checkoutId},
);
final QueryResult result = await _graphQLClient!.mutate(_options);
checkForError(
result,
key: 'checkoutCustomerDisassociateV2',
errorKey: 'checkoutUserErrors',
);
}