Anchor to deliveryCustomizationActivationdelivery
deliveryCustomizationActivation
mutation
Requires access scope.
Activates and deactivates delivery customizations.
Anchor to Arguments
Arguments
- Anchor to enabledenabled•Boolean!required
The enabled status of the delivery customizations.
- •[ID!]!required
The global IDs of the delivery customizations.
Was this section helpful?
Anchor to DeliveryCustomizationActivationPayload returnsDeliveryCustomizationActivationPayload returns
- •
The IDs of the updated delivery customizations.
- Anchor to userErrorsuser•
Errors [DeliveryCustomization non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation deliveryCustomizationActivation($enabled: Boolean!, $ids: [ID!]!) {2 deliveryCustomizationActivation(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"
]
}