---
title: "Delete requested shopify customer orders data from the system"
method: POST
path: "/gdpr_hooks/shopify/customers/redact"
tags: ["Shopify Privacy Webhooks"]
---

# Delete requested shopify customer orders data from the system

`POST /gdpr_hooks/shopify/customers/redact`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/gdpr_hooks/shopify/customers/redact`
- 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`

Delete requested shopify customer orders data from the system

## Request body

- ShopifyCustomerRedactRequest: Shopify customer redact details
  - `shop_id` integer, required: Shop Id
  - `shop_domain` string, required: Shop Domain
  - `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
  - `orders_to_redact` integer[], required: List of orders to redact

## Response `200`

Successful

- ShopifyCustomerRedactResponse
  - `message` string, required: Message

## 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/9d8804f81a10?raw)
