Event GroupEvent Identification
subscriptionsubscription/challenged
Notice of changes in package status under the store
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
  • before_status string
    Package status before change
    Example: active
  • business_parameters map
    Business parameters
    Example: [object Object]
  • create_time long
    Package creation time
    Example: 1691130777203
  • end_time long
    Package end time , time stamp ( millisecond )
  • merchant_id long
    Merchant id
    Example: 2011061373
  • start_time long
    Package start time , time stamp ( millisecond )
  • status string
    Package status
    Example: active
  • store_id long
    Store id
    Example: 1690967538993
  • sub_type string
    Package type
    Example: preorder
  • subscription_id string
    Package id
    Example: SUB6053264297034524673
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?