Shopify GraphQL API / Mutation
The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start.
Implements
Fields
cartAttributesUpdate
(
AttributeInput: [AttributeInput!]!
ID: ID!
)
:
CartAttributesUpdatePayload
cartBuyerIdentityUpdate
(
ID: ID!
CartBuyerIdentityInput: CartBuyerIdentityInput!
)
:
CartBuyerIdentityUpdatePayload
cartCreate
(
CartInput: CartInput
)
:
CartCreatePayload
cartDiscountCodesUpdate
(
ID: ID!
String: [String!]
)
:
CartDiscountCodesUpdatePayload
cartLinesAdd
(
CartLineInput: [CartLineInput!]!
ID: ID!
)
:
CartLinesAddPayload
cartLinesRemove
(
ID: ID!
ID: [ID!]!
)
:
CartLinesRemovePayload
cartLinesUpdate
(
ID: ID!
CartLineUpdateInput: [CartLineUpdateInput!]!
)
:
CartLinesUpdatePayload
cartNoteUpdate
(
ID: ID!
String: String
)
:
CartNoteUpdatePayload
checkoutAttributesUpdate
(
ID: ID!
CheckoutAttributesUpdateInput: CheckoutAttributesUpdateInput!
)
:
CheckoutAttributesUpdatePayload
checkoutAttributesUpdateV2
(
ID: ID!
CheckoutAttributesUpdateV2Input: CheckoutAttributesUpdateV2Input!
)
:
CheckoutAttributesUpdateV2Payload
checkoutCompleteFree
(
ID: ID!
)
:
CheckoutCompleteFreePayload
checkoutCompleteWithCreditCard
(
ID: ID!
CreditCardPaymentInput: CreditCardPaymentInput!
)
:
CheckoutCompleteWithCreditCardPayload
checkoutCompleteWithCreditCardV2
(
ID: ID!
CreditCardPaymentInputV2: CreditCardPaymentInputV2!
)
:
CheckoutCompleteWithCreditCardV2Payload
checkoutCompleteWithTokenizedPayment
(
ID: ID!
TokenizedPaymentInput: TokenizedPaymentInput!
)
:
CheckoutCompleteWithTokenizedPaymentPayload
checkoutCompleteWithTokenizedPaymentV2
(
ID: ID!
TokenizedPaymentInputV2: TokenizedPaymentInputV2!
)
:
CheckoutCompleteWithTokenizedPaymentV2Payload
checkoutCompleteWithTokenizedPaymentV3
(
ID: ID!
TokenizedPaymentInputV3: TokenizedPaymentInputV3!
)
:
CheckoutCompleteWithTokenizedPaymentV3Payload
checkoutCreate
(
CheckoutCreateInput: CheckoutCreateInput!
String: String
)
:
CheckoutCreatePayload
checkoutCustomerAssociate
(
ID: ID!
String: String!
)
:
CheckoutCustomerAssociatePayload
checkoutCustomerAssociateV2
(
ID: ID!
String: String!
)
:
CheckoutCustomerAssociateV2Payload
checkoutCustomerDisassociate
(
ID: ID!
)
:
CheckoutCustomerDisassociatePayload
checkoutCustomerDisassociateV2
(
ID: ID!
)
:
CheckoutCustomerDisassociateV2Payload
checkoutDiscountCodeApply
(
String: String!
ID: ID!
)
:
CheckoutDiscountCodeApplyPayload
checkoutDiscountCodeApplyV2
(
String: String!
ID: ID!
)
:
CheckoutDiscountCodeApplyV2Payload
checkoutDiscountCodeRemove
(
ID: ID!
)
:
CheckoutDiscountCodeRemovePayload
checkoutEmailUpdate
(
ID: ID!
String: String!
)
:
CheckoutEmailUpdatePayload
checkoutEmailUpdateV2
(
ID: ID!
String: String!
)
:
CheckoutEmailUpdateV2Payload
checkoutGiftCardApply
(
String: String!
ID: ID!
)
:
CheckoutGiftCardApplyPayload
checkoutGiftCardRemove
(
ID: ID!
ID: ID!
)
:
CheckoutGiftCardRemovePayload
checkoutGiftCardRemoveV2
(
ID: ID!
ID: ID!
)
:
CheckoutGiftCardRemoveV2Payload
checkoutGiftCardsAppend
(
String: [String!]!
ID: ID!
)
:
CheckoutGiftCardsAppendPayload
checkoutLineItemsAdd
(
CheckoutLineItemInput: [CheckoutLineItemInput!]!
ID: ID!
)
:
CheckoutLineItemsAddPayload
checkoutLineItemsRemove
(
ID: ID!
ID: [ID!]!
)
:
CheckoutLineItemsRemovePayload
checkoutLineItemsReplace
(
CheckoutLineItemInput: [CheckoutLineItemInput!]!
ID: ID!
)
:
CheckoutLineItemsReplacePayload
checkoutLineItemsUpdate
(
ID: ID!
CheckoutLineItemUpdateInput: [CheckoutLineItemUpdateInput!]!
)
:
CheckoutLineItemsUpdatePayload
checkoutShippingAddressUpdate
(
MailingAddressInput: MailingAddressInput!
ID: ID!
)
:
CheckoutShippingAddressUpdatePayload
checkoutShippingAddressUpdateV2
(
MailingAddressInput: MailingAddressInput!
ID: ID!
)
:
CheckoutShippingAddressUpdateV2Payload
checkoutShippingLineUpdate
(
ID: ID!
String: String!
)
:
CheckoutShippingLineUpdatePayload
customerAccessTokenCreate
(
CustomerAccessTokenCreateInput: CustomerAccessTokenCreateInput!
)
:
CustomerAccessTokenCreatePayload
customerAccessTokenCreateWithMultipass
(
String: String!
)
:
CustomerAccessTokenCreateWithMultipassPayload
customerAccessTokenDelete
(
String: String!
)
:
CustomerAccessTokenDeletePayload
customerAccessTokenRenew
(
String: String!
)
:
CustomerAccessTokenRenewPayload
customerActivate
(
ID: ID!
CustomerActivateInput: CustomerActivateInput!
)
:
CustomerActivatePayload
customerActivateByUrl
(
URL: URL!
String: String!
)
:
CustomerActivateByUrlPayload
customerAddressCreate
(
String: String!
MailingAddressInput: MailingAddressInput!
)
:
CustomerAddressCreatePayload
customerAddressDelete
(
ID: ID!
String: String!
)
:
CustomerAddressDeletePayload
customerAddressUpdate
(
String: String!
ID: ID!
MailingAddressInput: MailingAddressInput!
)
:
CustomerAddressUpdatePayload
customerCreate
(
CustomerCreateInput: CustomerCreateInput!
)
:
CustomerCreatePayload
customerDefaultAddressUpdate
(
String: String!
ID: ID!
)
:
CustomerDefaultAddressUpdatePayload
customerRecover
(
String: String!
)
:
CustomerRecoverPayload
customerReset
(
ID: ID!
CustomerResetInput: CustomerResetInput!
)
:
CustomerResetPayload
customerResetByUrl
(
URL: URL!
String: String!
)
:
CustomerResetByUrlPayload
customerUpdate
(
String: String!
CustomerUpdateInput: CustomerUpdateInput!
)
:
CustomerUpdatePayload