Shopify SDK for Unity
Public Member Functions | List of all members
Shopify.Unity.GraphQL.MutationQuery Class Reference

MutationQuery is the root mutation builder. All Storefront API mutation queries are built off of MutationQuery. More...

Public Member Functions

 MutationQuery ()
 MutationQuery constructor accepts no parameters but it will create a root mutation builder. More...
 
MutationQuery checkoutAttributesUpdate (CheckoutAttributesUpdatePayloadDelegate buildQuery, string checkoutId, CheckoutAttributesUpdateInput input, string alias=null)
 Updates the attributes of a checkout. More...
 
MutationQuery checkoutAttributesUpdateV2 (CheckoutAttributesUpdateV2payloadDelegate buildQuery, string checkoutId, CheckoutAttributesUpdateV2input input, string alias=null)
 Updates the attributes of a checkout. More...
 
MutationQuery checkoutCompleteFree (CheckoutCompleteFreePayloadDelegate buildQuery, string checkoutId, string alias=null)
 Completes a checkout without providing payment information. You can use this mutation for free items or items whose purchase price is covered by a gift card. More...
 
MutationQuery checkoutCompleteWithCreditCard (CheckoutCompleteWithCreditCardPayloadDelegate buildQuery, string checkoutId, CreditCardPaymentInput payment, string alias=null)
 Completes a checkout using a credit card token from Shopify's Vault. More...
 
MutationQuery checkoutCompleteWithCreditCardV2 (CheckoutCompleteWithCreditCardV2payloadDelegate buildQuery, string checkoutId, CreditCardPaymentInputV2 payment, string alias=null)
 Completes a checkout using a credit card token from Shopify's card vault. Before you can complete checkouts using CheckoutCompleteWithCreditCardV2, you need to request payment processing. More...
 
MutationQuery checkoutCompleteWithTokenizedPayment (CheckoutCompleteWithTokenizedPaymentPayloadDelegate buildQuery, string checkoutId, TokenizedPaymentInput payment, string alias=null)
 Completes a checkout with a tokenized payment. More...
 
MutationQuery checkoutCompleteWithTokenizedPaymentV2 (CheckoutCompleteWithTokenizedPaymentV2payloadDelegate buildQuery, string checkoutId, TokenizedPaymentInputV2 payment, string alias=null)
 Completes a checkout with a tokenized payment. More...
 
MutationQuery checkoutCreate (CheckoutCreatePayloadDelegate buildQuery, CheckoutCreateInput input, string alias=null)
 Creates a new checkout. More...
 
MutationQuery checkoutCustomerAssociate (CheckoutCustomerAssociatePayloadDelegate buildQuery, string checkoutId, string customerAccessToken, string alias=null)
 Associates a customer to the checkout. More...
 
MutationQuery checkoutCustomerAssociateV2 (CheckoutCustomerAssociateV2payloadDelegate buildQuery, string checkoutId, string customerAccessToken, string alias=null)
 Associates a customer to the checkout. More...
 
MutationQuery checkoutCustomerDisassociate (CheckoutCustomerDisassociatePayloadDelegate buildQuery, string checkoutId, string alias=null)
 Disassociates the current checkout customer from the checkout. More...
 
MutationQuery checkoutCustomerDisassociateV2 (CheckoutCustomerDisassociateV2payloadDelegate buildQuery, string checkoutId, string alias=null)
 Disassociates the current checkout customer from the checkout. More...
 
MutationQuery checkoutDiscountCodeApply (CheckoutDiscountCodeApplyPayloadDelegate buildQuery, string discountCode, string checkoutId, string alias=null)
 Applies a discount to an existing checkout using a discount code. More...
 
MutationQuery checkoutDiscountCodeApplyV2 (CheckoutDiscountCodeApplyV2payloadDelegate buildQuery, string discountCode, string checkoutId, string alias=null)
 Applies a discount to an existing checkout using a discount code. More...
 
MutationQuery checkoutDiscountCodeRemove (CheckoutDiscountCodeRemovePayloadDelegate buildQuery, string checkoutId, string alias=null)
 Removes the applied discount from an existing checkout. More...
 
MutationQuery checkoutEmailUpdate (CheckoutEmailUpdatePayloadDelegate buildQuery, string checkoutId, string email, string alias=null)
 Updates the email on an existing checkout. More...
 
MutationQuery checkoutEmailUpdateV2 (CheckoutEmailUpdateV2payloadDelegate buildQuery, string checkoutId, string email, string alias=null)
 Updates the email on an existing checkout. More...
 
MutationQuery checkoutGiftCardApply (CheckoutGiftCardApplyPayloadDelegate buildQuery, string giftCardCode, string checkoutId, string alias=null)
 Applies a gift card to an existing checkout using a gift card code. This will replace all currently applied gift cards. More...
 
MutationQuery checkoutGiftCardRemove (CheckoutGiftCardRemovePayloadDelegate buildQuery, string appliedGiftCardId, string checkoutId, string alias=null)
 Removes an applied gift card from the checkout. More...
 
MutationQuery checkoutGiftCardRemoveV2 (CheckoutGiftCardRemoveV2payloadDelegate buildQuery, string appliedGiftCardId, string checkoutId, string alias=null)
 Removes an applied gift card from the checkout. More...
 
MutationQuery checkoutGiftCardsAppend (CheckoutGiftCardsAppendPayloadDelegate buildQuery, List< string > giftCardCodes, string checkoutId, string alias=null)
 Appends gift cards to an existing checkout. More...
 
MutationQuery checkoutLineItemsAdd (CheckoutLineItemsAddPayloadDelegate buildQuery, List< CheckoutLineItemInput > lineItems, string checkoutId, string alias=null)
 Adds a list of line items to a checkout. More...
 
MutationQuery checkoutLineItemsRemove (CheckoutLineItemsRemovePayloadDelegate buildQuery, string checkoutId, List< string > lineItemIds, string alias=null)
 Removes line items from an existing checkout. More...
 
MutationQuery checkoutLineItemsReplace (CheckoutLineItemsReplacePayloadDelegate buildQuery, List< CheckoutLineItemInput > lineItems, string checkoutId, string alias=null)
 Sets a list of line items to a checkout. More...
 
MutationQuery checkoutLineItemsUpdate (CheckoutLineItemsUpdatePayloadDelegate buildQuery, string checkoutId, List< CheckoutLineItemUpdateInput > lineItems, string alias=null)
 Updates line items on a checkout. More...
 
MutationQuery checkoutShippingAddressUpdate (CheckoutShippingAddressUpdatePayloadDelegate buildQuery, MailingAddressInput shippingAddress, string checkoutId, string alias=null)
 Updates the shipping address of an existing checkout. More...
 
MutationQuery checkoutShippingAddressUpdateV2 (CheckoutShippingAddressUpdateV2payloadDelegate buildQuery, MailingAddressInput shippingAddress, string checkoutId, string alias=null)
 Updates the shipping address of an existing checkout. More...
 
MutationQuery checkoutShippingLineUpdate (CheckoutShippingLineUpdatePayloadDelegate buildQuery, string checkoutId, string shippingRateHandle, string alias=null)
 Updates the shipping lines on an existing checkout. More...
 
MutationQuery customerAccessTokenCreate (CustomerAccessTokenCreatePayloadDelegate buildQuery, CustomerAccessTokenCreateInput input, string alias=null)
 Creates a customer access token. The customer access token is required to modify the customer object in any way. More...
 
MutationQuery customerAccessTokenDelete (CustomerAccessTokenDeletePayloadDelegate buildQuery, string customerAccessToken, string alias=null)
 Permanently destroys a customer access token. More...
 
MutationQuery customerAccessTokenRenew (CustomerAccessTokenRenewPayloadDelegate buildQuery, string customerAccessToken, string alias=null)
 Renews a customer access token. More...
 
MutationQuery customerActivate (CustomerActivatePayloadDelegate buildQuery, string id, CustomerActivateInput input, string alias=null)
 Activates a customer. More...
 
MutationQuery customerAddressCreate (CustomerAddressCreatePayloadDelegate buildQuery, string customerAccessToken, MailingAddressInput address, string alias=null)
 Creates a new address for a customer. More...
 
MutationQuery customerAddressDelete (CustomerAddressDeletePayloadDelegate buildQuery, string id, string customerAccessToken, string alias=null)
 Permanently deletes the address of an existing customer. More...
 
MutationQuery customerAddressUpdate (CustomerAddressUpdatePayloadDelegate buildQuery, string customerAccessToken, string id, MailingAddressInput address, string alias=null)
 Updates the address of an existing customer. More...
 
MutationQuery customerCreate (CustomerCreatePayloadDelegate buildQuery, CustomerCreateInput input, string alias=null)
 Creates a new customer. More...
 
MutationQuery customerDefaultAddressUpdate (CustomerDefaultAddressUpdatePayloadDelegate buildQuery, string customerAccessToken, string addressId, string alias=null)
 Updates the default address of an existing customer. More...
 
MutationQuery customerRecover (CustomerRecoverPayloadDelegate buildQuery, string email, string alias=null)
 Sends a reset password email to the customer, as the first step in the reset password process. More...
 
MutationQuery customerReset (CustomerResetPayloadDelegate buildQuery, string id, CustomerResetInput input, string alias=null)
 Resets a customer’s password with a token received from CustomerRecover. More...
 
MutationQuery customerResetByUrl (CustomerResetByUrlPayloadDelegate buildQuery, string resetUrl, string password, string alias=null)
 Resets a customer’s password with the reset password url received from CustomerRecover. More...
 
MutationQuery customerUpdate (CustomerUpdatePayloadDelegate buildQuery, string customerAccessToken, CustomerUpdateInput customer, string alias=null)
 Updates an existing customer. More...
 
override string ToString ()
 Will return a GraphQL query. More...
 

Detailed Description

MutationQuery is the root mutation builder. All Storefront API mutation queries are built off of MutationQuery.

Constructor & Destructor Documentation

◆ MutationQuery()

Shopify.Unity.GraphQL.MutationQuery.MutationQuery ( )
inline

MutationQuery constructor accepts no parameters but it will create a root mutation builder.

Member Function Documentation

◆ checkoutAttributesUpdate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutAttributesUpdate ( CheckoutAttributesUpdatePayloadDelegate  buildQuery,
string  checkoutId,
CheckoutAttributesUpdateInput  input,
string  alias = null 
)
inline

Updates the attributes of a checkout.

Deprecated:
Use checkoutAttributesUpdateV2 instead
Parameters
checkoutIdThe ID of the checkout.
inputThe fields used to update a checkout's attributes.

◆ checkoutAttributesUpdateV2()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutAttributesUpdateV2 ( CheckoutAttributesUpdateV2payloadDelegate  buildQuery,
string  checkoutId,
CheckoutAttributesUpdateV2input  input,
string  alias = null 
)
inline

Updates the attributes of a checkout.

Parameters
checkoutIdThe ID of the checkout.
inputThe checkout attributes to update.

◆ checkoutCompleteFree()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutCompleteFree ( CheckoutCompleteFreePayloadDelegate  buildQuery,
string  checkoutId,
string  alias = null 
)
inline

Completes a checkout without providing payment information. You can use this mutation for free items or items whose purchase price is covered by a gift card.

Parameters
checkoutIdThe ID of the checkout.

◆ checkoutCompleteWithCreditCard()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutCompleteWithCreditCard ( CheckoutCompleteWithCreditCardPayloadDelegate  buildQuery,
string  checkoutId,
CreditCardPaymentInput  payment,
string  alias = null 
)
inline

Completes a checkout using a credit card token from Shopify's Vault.

Deprecated:
Use checkoutCompleteWithCreditCardV2 instead
Parameters
checkoutIdThe ID of the checkout.
paymentThe credit card info to apply as a payment.

◆ checkoutCompleteWithCreditCardV2()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutCompleteWithCreditCardV2 ( CheckoutCompleteWithCreditCardV2payloadDelegate  buildQuery,
string  checkoutId,
CreditCardPaymentInputV2  payment,
string  alias = null 
)
inline

Completes a checkout using a credit card token from Shopify's card vault. Before you can complete checkouts using CheckoutCompleteWithCreditCardV2, you need to request payment processing.

Parameters
checkoutIdThe ID of the checkout.
paymentThe credit card info to apply as a payment.

◆ checkoutCompleteWithTokenizedPayment()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutCompleteWithTokenizedPayment ( CheckoutCompleteWithTokenizedPaymentPayloadDelegate  buildQuery,
string  checkoutId,
TokenizedPaymentInput  payment,
string  alias = null 
)
inline

Completes a checkout with a tokenized payment.

Deprecated:
Use checkoutCompleteWithTokenizedPaymentV2 instead
Parameters
checkoutIdThe ID of the checkout.
paymentThe info to apply as a tokenized payment.

◆ checkoutCompleteWithTokenizedPaymentV2()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutCompleteWithTokenizedPaymentV2 ( CheckoutCompleteWithTokenizedPaymentV2payloadDelegate  buildQuery,
string  checkoutId,
TokenizedPaymentInputV2  payment,
string  alias = null 
)
inline

Completes a checkout with a tokenized payment.

Deprecated:
Use checkoutCompleteWithTokenizedPaymentV3 instead
Parameters
checkoutIdThe ID of the checkout.
paymentThe info to apply as a tokenized payment.

◆ checkoutCreate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutCreate ( CheckoutCreatePayloadDelegate  buildQuery,
CheckoutCreateInput  input,
string  alias = null 
)
inline

Creates a new checkout.

Parameters
inputThe fields used to create a checkout.

◆ checkoutCustomerAssociate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutCustomerAssociate ( CheckoutCustomerAssociatePayloadDelegate  buildQuery,
string  checkoutId,
string  customerAccessToken,
string  alias = null 
)
inline

Associates a customer to the checkout.

Deprecated:
Use checkoutCustomerAssociateV2 instead
Parameters
checkoutIdThe ID of the checkout.
customerAccessTokenThe customer access token of the customer to associate.

◆ checkoutCustomerAssociateV2()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutCustomerAssociateV2 ( CheckoutCustomerAssociateV2payloadDelegate  buildQuery,
string  checkoutId,
string  customerAccessToken,
string  alias = null 
)
inline

Associates a customer to the checkout.

Parameters
checkoutIdThe ID of the checkout.
customerAccessTokenThe customer access token of the customer to associate.

◆ checkoutCustomerDisassociate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutCustomerDisassociate ( CheckoutCustomerDisassociatePayloadDelegate  buildQuery,
string  checkoutId,
string  alias = null 
)
inline

Disassociates the current checkout customer from the checkout.

Deprecated:
Use checkoutCustomerDisassociateV2 instead
Parameters
checkoutIdThe ID of the checkout.

◆ checkoutCustomerDisassociateV2()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutCustomerDisassociateV2 ( CheckoutCustomerDisassociateV2payloadDelegate  buildQuery,
string  checkoutId,
string  alias = null 
)
inline

Disassociates the current checkout customer from the checkout.

Parameters
checkoutIdThe ID of the checkout.

◆ checkoutDiscountCodeApply()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutDiscountCodeApply ( CheckoutDiscountCodeApplyPayloadDelegate  buildQuery,
string  discountCode,
string  checkoutId,
string  alias = null 
)
inline

Applies a discount to an existing checkout using a discount code.

Deprecated:
Use checkoutDiscountCodeApplyV2 instead
Parameters
discountCodeThe discount code to apply to the checkout.
checkoutIdThe ID of the checkout.

◆ checkoutDiscountCodeApplyV2()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutDiscountCodeApplyV2 ( CheckoutDiscountCodeApplyV2payloadDelegate  buildQuery,
string  discountCode,
string  checkoutId,
string  alias = null 
)
inline

Applies a discount to an existing checkout using a discount code.

Parameters
discountCodeThe discount code to apply to the checkout.
checkoutIdThe ID of the checkout.

◆ checkoutDiscountCodeRemove()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutDiscountCodeRemove ( CheckoutDiscountCodeRemovePayloadDelegate  buildQuery,
string  checkoutId,
string  alias = null 
)
inline

Removes the applied discount from an existing checkout.

Parameters
checkoutIdThe ID of the checkout.

◆ checkoutEmailUpdate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutEmailUpdate ( CheckoutEmailUpdatePayloadDelegate  buildQuery,
string  checkoutId,
string  email,
string  alias = null 
)
inline

Updates the email on an existing checkout.

Deprecated:
Use checkoutEmailUpdateV2 instead
Parameters
checkoutIdThe ID of the checkout.
emailThe email to update the checkout with.

◆ checkoutEmailUpdateV2()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutEmailUpdateV2 ( CheckoutEmailUpdateV2payloadDelegate  buildQuery,
string  checkoutId,
string  email,
string  alias = null 
)
inline

Updates the email on an existing checkout.

Parameters
checkoutIdThe ID of the checkout.
emailThe email to update the checkout with.

◆ checkoutGiftCardApply()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutGiftCardApply ( CheckoutGiftCardApplyPayloadDelegate  buildQuery,
string  giftCardCode,
string  checkoutId,
string  alias = null 
)
inline

Applies a gift card to an existing checkout using a gift card code. This will replace all currently applied gift cards.

Deprecated:
Use checkoutGiftCardsAppend instead
Parameters
giftCardCodeThe code of the gift card to apply on the checkout.
checkoutIdThe ID of the checkout.

◆ checkoutGiftCardRemove()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutGiftCardRemove ( CheckoutGiftCardRemovePayloadDelegate  buildQuery,
string  appliedGiftCardId,
string  checkoutId,
string  alias = null 
)
inline

Removes an applied gift card from the checkout.

Deprecated:
Use checkoutGiftCardRemoveV2 instead
Parameters
appliedGiftCardIdThe ID of the Applied Gift Card to remove from the Checkout.
checkoutIdThe ID of the checkout.

◆ checkoutGiftCardRemoveV2()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutGiftCardRemoveV2 ( CheckoutGiftCardRemoveV2payloadDelegate  buildQuery,
string  appliedGiftCardId,
string  checkoutId,
string  alias = null 
)
inline

Removes an applied gift card from the checkout.

Parameters
appliedGiftCardIdThe ID of the Applied Gift Card to remove from the Checkout.
checkoutIdThe ID of the checkout.

◆ checkoutGiftCardsAppend()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutGiftCardsAppend ( CheckoutGiftCardsAppendPayloadDelegate  buildQuery,
List< string >  giftCardCodes,
string  checkoutId,
string  alias = null 
)
inline

Appends gift cards to an existing checkout.

Parameters
giftCardCodesA list of gift card codes to append to the checkout.
checkoutIdThe ID of the checkout.

◆ checkoutLineItemsAdd()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutLineItemsAdd ( CheckoutLineItemsAddPayloadDelegate  buildQuery,
List< CheckoutLineItemInput lineItems,
string  checkoutId,
string  alias = null 
)
inline

Adds a list of line items to a checkout.

Parameters
lineItemsA list of line item objects to add to the checkout.
checkoutIdThe ID of the checkout.

◆ checkoutLineItemsRemove()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutLineItemsRemove ( CheckoutLineItemsRemovePayloadDelegate  buildQuery,
string  checkoutId,
List< string >  lineItemIds,
string  alias = null 
)
inline

Removes line items from an existing checkout.

Parameters
checkoutIdThe checkout on which to remove line items.
lineItemIdsLine item ids to remove.

◆ checkoutLineItemsReplace()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutLineItemsReplace ( CheckoutLineItemsReplacePayloadDelegate  buildQuery,
List< CheckoutLineItemInput lineItems,
string  checkoutId,
string  alias = null 
)
inline

Sets a list of line items to a checkout.

Parameters
lineItemsA list of line item objects to set on the checkout.
checkoutIdThe ID of the checkout.

◆ checkoutLineItemsUpdate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutLineItemsUpdate ( CheckoutLineItemsUpdatePayloadDelegate  buildQuery,
string  checkoutId,
List< CheckoutLineItemUpdateInput lineItems,
string  alias = null 
)
inline

Updates line items on a checkout.

Parameters
checkoutIdThe checkout on which to update line items.
lineItemsLine items to update.

◆ checkoutShippingAddressUpdate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutShippingAddressUpdate ( CheckoutShippingAddressUpdatePayloadDelegate  buildQuery,
MailingAddressInput  shippingAddress,
string  checkoutId,
string  alias = null 
)
inline

Updates the shipping address of an existing checkout.

Deprecated:
Use checkoutShippingAddressUpdateV2 instead
Parameters
shippingAddressThe shipping address to where the line items will be shipped.
checkoutIdThe ID of the checkout.

◆ checkoutShippingAddressUpdateV2()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutShippingAddressUpdateV2 ( CheckoutShippingAddressUpdateV2payloadDelegate  buildQuery,
MailingAddressInput  shippingAddress,
string  checkoutId,
string  alias = null 
)
inline

Updates the shipping address of an existing checkout.

Parameters
shippingAddressThe shipping address to where the line items will be shipped.
checkoutIdThe ID of the checkout.

◆ checkoutShippingLineUpdate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.checkoutShippingLineUpdate ( CheckoutShippingLineUpdatePayloadDelegate  buildQuery,
string  checkoutId,
string  shippingRateHandle,
string  alias = null 
)
inline

Updates the shipping lines on an existing checkout.

Parameters
checkoutIdThe ID of the checkout.
shippingRateHandleA unique identifier to a Checkout’s shipping provider, price, and title combination, enabling the customer to select the availableShippingRates.

◆ customerAccessTokenCreate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerAccessTokenCreate ( CustomerAccessTokenCreatePayloadDelegate  buildQuery,
CustomerAccessTokenCreateInput  input,
string  alias = null 
)
inline

Creates a customer access token. The customer access token is required to modify the customer object in any way.

Parameters
inputThe fields used to create a customer access token.

◆ customerAccessTokenDelete()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerAccessTokenDelete ( CustomerAccessTokenDeletePayloadDelegate  buildQuery,
string  customerAccessToken,
string  alias = null 
)
inline

Permanently destroys a customer access token.

Parameters
customerAccessTokenThe access token used to identify the customer.

◆ customerAccessTokenRenew()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerAccessTokenRenew ( CustomerAccessTokenRenewPayloadDelegate  buildQuery,
string  customerAccessToken,
string  alias = null 
)
inline

Renews a customer access token.

Access token renewal must happen before a token expires. If a token has already expired, a new one should be created instead via customerAccessTokenCreate.

Parameters
customerAccessTokenThe access token used to identify the customer.

◆ customerActivate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerActivate ( CustomerActivatePayloadDelegate  buildQuery,
string  id,
CustomerActivateInput  input,
string  alias = null 
)
inline

Activates a customer.

Parameters
idSpecifies the customer to activate.
inputThe fields used to activate a customer.

◆ customerAddressCreate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerAddressCreate ( CustomerAddressCreatePayloadDelegate  buildQuery,
string  customerAccessToken,
MailingAddressInput  address,
string  alias = null 
)
inline

Creates a new address for a customer.

Parameters
customerAccessTokenThe access token used to identify the customer.
addressThe customer mailing address to create.

◆ customerAddressDelete()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerAddressDelete ( CustomerAddressDeletePayloadDelegate  buildQuery,
string  id,
string  customerAccessToken,
string  alias = null 
)
inline

Permanently deletes the address of an existing customer.

Parameters
idSpecifies the address to delete.
customerAccessTokenThe access token used to identify the customer.

◆ customerAddressUpdate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerAddressUpdate ( CustomerAddressUpdatePayloadDelegate  buildQuery,
string  customerAccessToken,
string  id,
MailingAddressInput  address,
string  alias = null 
)
inline

Updates the address of an existing customer.

Parameters
customerAccessTokenThe access token used to identify the customer.
idSpecifies the customer address to update.
addressThe customer’s mailing address.

◆ customerCreate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerCreate ( CustomerCreatePayloadDelegate  buildQuery,
CustomerCreateInput  input,
string  alias = null 
)
inline

Creates a new customer.

Parameters
inputThe fields used to create a new customer.

◆ customerDefaultAddressUpdate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerDefaultAddressUpdate ( CustomerDefaultAddressUpdatePayloadDelegate  buildQuery,
string  customerAccessToken,
string  addressId,
string  alias = null 
)
inline

Updates the default address of an existing customer.

Parameters
customerAccessTokenThe access token used to identify the customer.
addressIdID of the address to set as the new default for the customer.

◆ customerRecover()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerRecover ( CustomerRecoverPayloadDelegate  buildQuery,
string  email,
string  alias = null 
)
inline

Sends a reset password email to the customer, as the first step in the reset password process.

Parameters
emailThe email address of the customer to recover.

◆ customerReset()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerReset ( CustomerResetPayloadDelegate  buildQuery,
string  id,
CustomerResetInput  input,
string  alias = null 
)
inline

Resets a customer’s password with a token received from CustomerRecover.

Parameters
idSpecifies the customer to reset.
inputThe fields used to reset a customer’s password.

◆ customerResetByUrl()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerResetByUrl ( CustomerResetByUrlPayloadDelegate  buildQuery,
string  resetUrl,
string  password,
string  alias = null 
)
inline

Resets a customer’s password with the reset password url received from CustomerRecover.

Parameters
resetUrlThe customer's reset password url.
passwordNew password that will be set as part of the reset password process.

◆ customerUpdate()

MutationQuery Shopify.Unity.GraphQL.MutationQuery.customerUpdate ( CustomerUpdatePayloadDelegate  buildQuery,
string  customerAccessToken,
CustomerUpdateInput  customer,
string  alias = null 
)
inline

Updates an existing customer.

Parameters
customerAccessTokenThe access token used to identify the customer.
customerThe customer object input.

◆ ToString()

override string Shopify.Unity.GraphQL.MutationQuery.ToString ( )
inline

Will return a GraphQL query.


The documentation for this class was generated from the following file: