Anchor to privacyFeaturesDisableprivacy
privacyFeaturesDisable
mutation
Requires access scope.
Disable a shop's privacy features.
Anchor to Arguments
Arguments
- Anchor to featuresToDisablefeatures•
To Disable [PrivacyFeatures requiredEnum!]! The list of privacy features to disable.
Was this section helpful?
Anchor to PrivacyFeaturesDisablePayload returnsPrivacyFeaturesDisablePayload returns
- Anchor to featuresDisabledfeatures•
Disabled The privacy features that were disabled.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation privacyFeaturesDisable($featuresToDisable: [PrivacyFeaturesEnum!]!) {2 privacyFeaturesDisable(featuresToDisable: $featuresToDisable) {3 featuresDisabled {4 # PrivacyFeaturesEnum fields5 }6 userErrors {7 field8 message9 }10 }11}
Input
1{2 "featuresToDisable": [3 "COOKIE_BANNER"4 ]5}
{
"featuresToDisable": [
"COOKIE_BANNER"
]
}