Shopify Warning: Delete Order - Shopify GDPR
You may encounter the following warning, along with a list of order IDs:
Delete Order - Shopify GDPR. You are requested to delete the following orders and related information from your warehouse.
What causes the Delete Order
error?
This issue occurs when we receive mandatory webhooks from Shopify containing a list of IDs for orders that you must delete from your destination. This may happen if you delete Personally Identifiable Information (PII) from Shopify but don't delete it from the destination, or if a customer requests that you delete their data. For more information, see Shopify's mandatory webhooks documentation.
We soft delete records by updating _fivetran_deleted
= TRUE
for the rows in your destination. However, we don't hard delete records. Therefore, to comply with Shopify's GDPR policy, we display the above warning when we receive mandatory webhooks regarding order deletion.
How to resolve the Delete Order
error
To resolve this issue, delete all data associated with the orders mentioned in the warning message from your destination. The following tables may contain data related to the applicable orders:
DISCOUNT_APPLICATION
DRAFT_ORDER
FULFILLMENT
FULFILLMENT_EVENT
FULFILLMENT_ORDER_LINE
GIFT_CARD
ORDER
ORDER_ADJUSTMENT
ORDER_DISCOUNT_CODE
ORDER_LINE
ORDER_NOTE_ATTRIBUTE
ORDER_RISK
ORDER_SHIPPING_LINE
ORDER_TAG
ORDER_URL_TAG
REFUND
TRANSACTION