---
title: "Get requested data of shopify user"
method: POST
path: "/gdpr_hooks/shopify/customers/data_request"
tags: ["Shopify Privacy Webhooks"]
---

# Get requested data of shopify user

`POST /gdpr_hooks/shopify/customers/data_request`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/gdpr_hooks/shopify/customers/data_request`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Get requested data of shopify user

## Request body

- ShopifyDataRequest: Shopify data request details
  - `shop_id` integer, required: Shop Id
  - `shop_domain` string, required: Shop Domain
  - `orders_requested` integer[], required: List of orders requested
  - `customer` ShopifyCustomer, required
    - `id` integer, nullable: ID of the customer
    - `email` string, email, required: Email of the customer
    - `phone` string, nullable: Phone number of the customer
  - `data_request` ShopifyDataRequestSchema, required
    - `id` integer, required: ID of the data request

## Response `200`

Successful

- ShopifyDataRequestResponse
  - `requested_data` object, required

## Other responses

- `400`: Bad request syntax or unsupported method

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
