Skip to main content
Anchor to CustomerPaymentMethodCreateFromDuplicationDataPayload

CustomerPaymentMethodCreateFromDuplicationDataPayload

payload

Return type for customerPaymentMethodCreateFromDuplicationData mutation.

Anchor to customerPaymentMethodcustomerPaymentMethod
•CustomerPaymentMethod

The customer payment method.

•[CustomerPaymentMethodCreateFromDuplicationDataUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Creates a vaulted payment method for a customer from duplication data.

This data must be obtained from another shop within the same organization.

Currently, this only supports Shop Pay payment methods. This is only available for selected partner apps.

Arguments

•MailingAddressInput!
required

The billing address.

•ID!
required

The ID of the customer.

Anchor to encryptedDuplicationDataencryptedDuplicationData
•String!
required

The encrypted payment method data.



Was this section helpful?