Tags:
- API
- 2021-10
customerPaymentMethodGetUpdateUrl mutation for Customer payment methods is now available
As of the 2021-10 API version, we have introduced a mutation to the Admin API that, given a customer payment method ID, returns a URL that enables a customer to update their payment method in a secure way when in a session. This mutation supports Shop Pay as of late 2021, and will expand support to other payment methods in the future. The
is recommended as a fallback when the
returns an error or when the customer needs to update their payment method outside of a session.
Learn more about this mutation by visiting our developer documentation.
Was this section helpful?