Cookie Consent (GDPR) | GraphQL methods

Cookie Consent (GDPR) | GraphQL methods

Queries

  1. getAmCookieGroups 
    description: get cookie groups information

  2. getAmCookieBar 
    description: get cookie bar information

  3. getAmCookieSettingsBar 
    description: get cookie settings bar information

Mutations

  1. logAmCookieConsent(input: LogAmCookieConsentInput) 
    description: log cookie consent
      • Related Articles

      • GDPR | GraphQL methods

        Queries amGetGdprConsents (location: String) description: information about GDRP consents amGetGdprAccount description: information about GDPR account settings amGetGdprPolicyText (id: Int) description: get GDPR policy text Mutations ...
      • What Amasty extensions support GraphQL?

        Amasty has introduced additional GraphQL packages for extensions that are GraphQL compatible. These packages are listed in the 'suggest' section of the composer.json file. As a result, they are not automatically installed with the main module. To ...
      • How to edit the text colour for the Cookie Consent bar?

        To modify the text color on the cookie bar, proceed to Stores → Configuration → Amasty Extensions → Cookie Consent and expand the Cookie Bar Customization section. Having selected the preferred Cookie Bar Style, adjust the color and transparency with ...
      • Multiple Coupons | GraphQL methods

        Kindly note that the GraphQL functionality for Multiple Coupons is available as a part of an active product subscription or support subscription. Query amGetCouponsByCartId description: get coupons by cart id Mutations amApplyCouponsToCart ...
      • GDPR API

        1. Amasty\Gdpr\Api\RequestInterface - class for managing personal data deletion requests. POST /V1/amasty_gdpr/approveDeleteRequest, method="approveDeleteRequest" - approve a request; POST /V1/amasty_gdpr/denyDeleteRequest, method="denyDeleteRequest" ...