Event GroupEvent Identification
pagepage/create
Create custom pages
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
  • author string
    Custom page author
    Example: 3300497415
  • body_html string
    Custom page body_html content
    Example: content
  • created_at string
    Customize the page creation time
    Example: 2022-07-19 13:12:26
  • handle string
    Custom pages handle
    Example: /custom/4659008009719961650
  • id string
    Custom page id
    Example: 4570533223805409322
  • published_at string
    Customize page release time
    Example: 2022-07-19 13:12:26
  • published_status boolean
    Custom page post status
    Example: true
  • shop_id string
    Store id
    Example: 1607433620673
  • template_name string
    Custom page template name
    Example: A template
  • template_type string
    Custom pages template type
    Example: 0
  • title string
    Custom page title
    Example: One page
  • updated_at string
    Custom page update time
    Example: 2022-07-19 13:12:26
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?