Anchor to paymentCustomizationActivationpayment
paymentCustomizationActivation
mutation
Requires access scope.
Activates and deactivates payment customizations.
Anchor to Arguments
Arguments
- Anchor to enabledenabled•Boolean!required
The enabled status of the payment customizations.
- •[ID!]!required
The global IDs of the payment customizations.
Was this section helpful?
Anchor to PaymentCustomizationActivationPayload returnsPaymentCustomizationActivationPayload returns
- •
The IDs of the updated payment customizations.
- Anchor to userErrorsuser•
Errors [PaymentCustomization non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation paymentCustomizationActivation($enabled: Boolean!, $ids: [ID!]!) {2 paymentCustomizationActivation(enabled: $enabled, ids: $ids) {3 ids4 userErrors {5 field6 message7 }8 }9}
Input
1{2 "enabled": true,3 "ids": [4 "gid://shopify/<objectName>/10079785100"5 ]6}
{
"enabled": true,
"ids": [
"gid://shopify/<objectName>/10079785100"
]
}