Skip to main content
Anchor to PaymentCustomizationError

PaymentCustomizationError

object

Requires read_payment_customizations access scope.

An error that occurs during the execution of a payment customization mutation.

•PaymentCustomizationErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Activates or deactivates payment customizations for the shop. Payment customizations allow apps to hide, reorder, or rename payment methods at checkout based on cart contents, customer attributes, or other conditions. Use this to toggle customizations on or off without deleting them.

Arguments

•[ID!]!
required

The global IDs of the payment customizations.

•Boolean!
required

The enabled status of the payment customizations.


•mutation

Creates a new payment customization for the shop. Payment customizations let apps modify the payment methods shown at checkout — hiding, reordering, or renaming options based on cart contents, customer attributes, or other business logic.

Arguments

Anchor to paymentCustomizationpaymentCustomization
•PaymentCustomizationInput!
required

The input data used to create the payment customization.


•mutation

Permanently deletes a payment customization. Once deleted, the customization will no longer affect which payment methods appear at checkout.

Arguments

•ID!
required

The global ID of the payment customization.


•mutation

Updates an existing payment customization, modifying its configuration for how payment methods are displayed at checkout. Use this to change the customization's title or enabled state. The customization's function can't be changed once set; create a new payment customization to use a different function.

Arguments

•ID!
required

The global ID of the payment customization.

Anchor to paymentCustomizationpaymentCustomization
•PaymentCustomizationInput!
required

The input data used to update the payment customization.



Was this section helpful?


Was this section helpful?