Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to customerPaymentMethodCreditCardUpdate

customerPaymentMethodCreditCardUpdate

mutation

Requires write_customers access scope. Also: Requires write_customer_payment_methods scope.

Updates the credit card payment method for a customer.

The billing address.

ID!required

The ID of the customer payment method.

String!required

The Cardserver session ID.


Was this section helpful?

Anchor to CustomerPaymentMethodCreditCardUpdatePayload returnsCustomerPaymentMethodCreditCardUpdatePayload returns

Anchor to customerPaymentMethodcustomerPaymentMethod

The customer payment method.

If the card verification result is processing. When this is true, customer_payment_method will be null.

The list of errors that occurred from executing the mutation.


Was this section helpful?