Hi,
We were using the Shopify API version 2024-01, since that got deprecated, we switched to 2024-07.
We realized that now the topics: customers/data_request, customers/redact, shop/redact when creating a webhook do not get accepted anymore.
We get:
{“errors”:“Could not find the webhook topic customers/data_request”}%
My webhook looks like:
url = 'http://my-url.com/api/shopify/webhook/customers_data_request'
webhook = shopify.Webhook.create(
attributes={
"address": url.replace("http:", "https:"),
"topic": "customers/data_request",
"format": "json",
}
)
I tried also:
curl -X POST \
"https://my-shop.myshopify.com/admin/api/2024-07/webhooks.json" \
-H "X-Shopify-Access-Token: My-Token" \
-H "Content-Type: application/json" \
-d '{
"webhook": {
"topic": "customers/data_request”,
"address": "my-url.com/api/shopify/webhook/customers_data_request",
"format": "json"
}
}'
These are the scopes that I use:
“read_customers”,
“read_products”,
“read_orders”,
“read_discounts”,
“read_legal_policies”,
“read_fulfillments”,
I could not find anything on the documentations.
Can somebody help, we are in the middle of the verification and this suddenly stopped working.