POST api/shopify/webhooks/customers/data-request
Request Information
URI Parameters
None.
Body Parameters
CustomerDataErasureRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| shop_id | integer |
None. |
|
| shop_domain | string |
None. |
|
| customer | CustomerRemove |
None. |
|
| orders_to_redact | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"shop_id": 1,
"shop_domain": "sample string 2",
"customer": {
"id": 1,
"email": "sample string 2",
"phone": "sample string 3"
},
"orders_to_redact": [
1,
2
]
}
application/xml, text/xml
Sample:
<CustomerDataErasureRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartTech.SmartSms.Core.ShopifyCore.Models">
<customer>
<email>sample string 2</email>
<id>1</id>
<phone>sample string 3</phone>
</customer>
<orders_to_redact xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</orders_to_redact>
<shop_domain>sample string 2</shop_domain>
<shop_id>1</shop_id>
</CustomerDataErasureRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.