Event GroupEvent Identification
customerscustomers/redact
Data compliance mandatory subscription to webhook
Request Headers
  • X-Shopline-Topic string required
    Event operation identification
    Example: orders/edited
  • X-Shopline-Hmac-Sha256 string required
    Signature
    Example: XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
  • X-Shopline-Shop-Domain string required
    Shop domain
    Example: shophub.myshopline.com
  • X-Shopline-Shop-Id string required
    Shop ID
    Example: 1610418123456
  • X-Shopline-Merchant-Id string required
    Merchant ID
    Example: 2000001234
  • X-Shopline-API-Version string required
    Version
    Example: v20210901
  • X-Shopline-Webhook-Id string required
    Message ID
    Example: b54557e48a5fbf7d70bcd043
Request Body
  • customerobject
    Customer information
  • email string
    Mailbox
    Example: gungcherny@gamil.com
  • id string
    Customer id
    Example: 200843728
  • phone string
    Phone number
    Example: 00165323713
  • orders_to_redact array
    Custom single size
    Example: #72348
  • shop_domain string
    Store domain name
    Example: sgbm008.myshopline.com
  • shop_id string
    store ID
    Example: 160943274324
  • update_time string
    Update time
    Example: 2022-05-31T15:32:46+08:00
Response
After receiving a webhook notification from SHOPLINE, you must respond with the following format:
HTTP/1.1 200 OK
For more information about how to subscribe to webhooks and webhook response rules, refer to Webhook overview.
Was this article helpful to you?