mammoth-io Shopify Privacy Webhooks API

The Shopify Privacy Webhooks API from mammoth-io — 3 operation(s) for shopify privacy webhooks.

Operations 3

POST /gdpr_hooks/shopify/customers/redact Delete requested shopify customer orders data from the system #
POST /gdpr_hooks/shopify/customers/data_request Get requested data of shopify user #
POST /gdpr_hooks/shopify/shop/redact Delete requested shopify shop's data from the system #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mammoth-io:mammoth-io-shopify-privacy-webhooks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mammoth-io-shopify-privacy-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mammoth Io Shopify Privacy Webhooks API
  version: 0.1.0
  contact:
    name: Mammoth Analytics
    url: https://mammoth.io
    email: support@mammoth.io
  description: 'Operations tagged Shopify Privacy Webhooks across 2 of this provider''s published API definitions: app.mammoth.io-openapi.json, mammoth-io-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /api/v2
security:
- bearerAuth: []
- apiKey: []
  apiSecret: []
  workspaceId: []
tags:
- name: Shopify Privacy Webhooks
paths:
  /gdpr_hooks/shopify/customers/redact:
    post:
      tags:
      - Shopify Privacy Webhooks
      summary: Delete requested shopify customer orders data from the system
      operationId: ShopifyCustomerRedact
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShopifyCustomerRedactRequest'
        required: true
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopifyCustomerRedactResponse'
        '400':
          description: Bad request syntax or unsupported method
          content:
            application/json:
              schema:
                properties:
                  status_code:
                    type: integer
                  detail:
                    type: string
                  extra:
                    additionalProperties: {}
                    type:
                    - 'null'
                    - object
                    - array
                type: object
                required:
                - detail
                - status_code
                description: Validation Exception
                examples:
                - status_code: 400
                  detail: Bad Request
                  extra: {}
      deprecated: false
    servers:
    - url: /api/v2
  /gdpr_hooks/shopify/customers/data_request:
    post:
      tags:
      - Shopify Privacy Webhooks
      summary: Get requested data of shopify user
      operationId: ShopifyDataRequest
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShopifyDataRequest'
        required: true
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopifyDataRequestResponse'
        '400':
          description: Bad request syntax or unsupported method
          content:
            application/json:
              schema:
                properties:
                  status_code:
                    type: integer
                  detail:
                    type: string
                  extra:
                    additionalProperties: {}
                    type:
                    - 'null'
                    - object
                    - array
                type: object
                required:
                - detail
                - status_code
                description: Validation Exception
                examples:
                - status_code: 400
                  detail: Bad Request
                  extra: {}
      deprecated: false
    servers:
    - url: /api/v2
  /gdpr_hooks/shopify/shop/redact:
    post:
      tags:
      - Shopify Privacy Webhooks
      summary: Delete requested shopify shop's data from the system
      operationId: ShopifyShopRedact
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShopifyShopRedactRequest'
        required: true
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopifyShopRedactResponse'
        '400':
          description: Bad request syntax or unsupported method
          content:
            application/json:
              schema:
                properties:
                  status_code:
                    type: integer
                  detail:
                    type: string
                  extra:
                    additionalProperties: {}
                    type:
                    - 'null'
                    - object
                    - array
                type: object
                required:
                - detail
                - status_code
                description: Validation Exception
                examples:
                - status_code: 400
                  detail: Bad Request
                  extra: {}
      deprecated: false
    servers:
    - url: /api/v2
components:
  schemas:
    ShopifyDataRequest:
      properties:
        shop_id:
          type: integer
          exclusiveMinimum: 0.0
          description: Shop Id
          examples:
          - value: 113
        shop_domain:
          type: string
          description: Shop Domain
          examples:
          - value: shop3.myshopify.com
        orders_requested:
          items:
            type: integer
          type: array
          description: List of orders requested
          examples:
          - value:
            - 311
        customer:
          $ref: '#/components/schemas/ShopifyCustomer'
        data_request:
          $ref: '#/components/schemas/ShopifyDataRequestSchema'
      type: object
      required:
      - customer
      - data_request
      - orders_requested
      - shop_domain
      - shop_id
      title: ShopifyDataRequest
      description: Shopify data request details
      examples:
      - shop_id: 954888
        shop_domain: testshop.myshopify.com
        orders_requested:
        - 280263
        - 220458
        customer:
          id: 191167
          email: john@example.com
          phone: 555-625-1199
        data_request:
          id: 9999
    ShopifyCustomerRedactResponse:
      properties:
        message:
          type: string
          description: Message
          examples:
          - value: Requested data has been deleted successfully.
      type: object
      required:
      - message
      title: ShopifyCustomerRedactResponse
    ShopifyCustomerRedactRequest:
      properties:
        shop_id:
          type: integer
          exclusiveMinimum: 0.0
          description: Shop Id
          examples:
          - value: 113
        shop_domain:
          type: string
          description: Shop Domain
          examples:
          - value: shop3.myshopify.com
        customer:
          $ref: '#/components/schemas/ShopifyCustomer'
        orders_to_redact:
          items:
            type: integer
          type: array
          description: List of orders to redact
          examples:
          - value:
            - 299938
            - 280263
      type: object
      required:
      - customer
      - orders_to_redact
      - shop_domain
      - shop_id
      title: ShopifyCustomerRedactRequest
      description: Shopify customer redact details
      examples:
      - shop_id: 954589
        shop_domain: shop.myshopify.com
        customer:
          id: 191167
          email: keven@example.com
          phone: 555-625-1199
        orders_to_redact:
        - 299938
        - 225458
    ShopifyDataRequestResponse:
      properties:
        requested_data:
          type: object
      type: object
      required:
      - requested_data
      title: ShopifyDataRequestResponse
    ShopifyDataRequestSchema:
      properties:
        id:
          type: integer
          exclusiveMinimum: 0.0
          description: ID of the data request
          examples:
          - value: 9999
      type: object
      required:
      - id
      title: ShopifyDataRequestSchema
    ShopifyShopRedactResponse:
      properties:
        message:
          type: string
          description: Message
          examples:
          - value: Requested data
      type: object
      required:
      - message
      title: ShopifyShopRedactResponse
    ShopifyShopRedactRequest:
      properties:
        shop_id:
          type: integer
          exclusiveMinimum: 0.0
          description: Shop Id
          examples:
          - value: 113
        shop_domain:
          type: string
          description: Shop Domain
          examples:
          - value: shop3.myshopify.com
      type: object
      required:
      - shop_domain
      - shop_id
      title: ShopifyShopRedactRequest
      description: Shopify shop redact details
      examples:
      - shop_id: 959889
        shop_domain: test.myshopify.com
    ShopifyCustomer:
      properties:
        id:
          oneOf:
          - type: integer
          - type: 'null'
          description: ID of the customer
          examples:
          - value: 191267
        email:
          type: string
          format: email
          title: Email of the user
          description: Email of the customer
          examples:
          - value: test@gmail.com
        phone:
          oneOf:
          - type: string
          - type: 'null'
          minLength: 7
          description: Phone number of the customer
          examples:
          - value: 555-625-1189
      type: object
      required:
      - email
      title: ShopifyCustomer
  securitySchemes:
    bearerAuth:
      type: http
      description: 'Primary credential. Authorization: Bearer mm_<token>. The token is issued server-side and shown once at creation.'
      scheme: bearer
    apiKey:
      type: apiKey
      description: Deprecated — use bearerAuth.
      name: X-API-KEY
      in: header
    apiSecret:
      type: apiKey
      description: Deprecated — use bearerAuth.
      name: X-API-SECRET
      in: header
    workspaceId:
      type: apiKey
      description: Required with X-API-KEY and X-API-SECRET. Deprecated with them — use bearerAuth.
      name: X-WORKSPACE-ID
      in: header
x-refined-from:
- app.mammoth.io-openapi.json
- mammoth-io-openapi.json