Event GroupEvent Identification
pagepage/create
Occurs whenever a custom page is created.
Request Headers
  • X-Shopline-Topic string required
    The unique identifier for the event.
    Example: orders/edited
  • X-Shopline-Hmac-Sha256 string required
    The signature of the request. Upon receiving the request, you must verify the signature to confirm the authenticity and integrity of the data.
    Example: XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
  • X-Shopline-Shop-Domain string required
    The store domain.
    Example: example.myshopline.com
  • X-Shopline-Shop-Id string required
    The store ID.
    Example: 1610418123456
  • X-Shopline-Merchant-Id string required
    The merchant ID.
    Example: 2000001234
  • X-Shopline-API-Version string required
    The API version.
    Example: v20250601
  • X-Shopline-Webhook-Id string required
    The ID of this Webhook event.
    Example: b54557e48a5fbf7d70bcd043
Request Body
  • author string
    The ID or name of the author for the custom page.
    Example: Alvin
  • body_html string
    The body content of the custom page, formatted in HTML.
    Example: <p>We love to hear from you.</p>
  • created_at string
    The creation time of the custom page. Format: yyyy-MM-dd HH:mm:ss.SSS.
    Example: 2023-09-11 16:49:35.120
  • handle string
    A unique semantic identifier for the custom page.
    Example: contact_us
  • id string
    The unique ID of the custom page.
    Example: 4570533223805409322
  • published_at string
    The publication time of the custom page. Format: yyyy-MM-dd HH:mm:ss.SSS.
    Example: 2023-09-11 16:49:35.120
  • published_status boolean
    Whether the custom page has been published.
    • true: Already published
    • false: Not yet published
  • shop_id string
    The unique ID of the store.
    Example: 1607433620673
  • template_name string
    Template name used for the custom page.
    Example: templates/page.contact.json
  • template_type string
    The template type used by the custom page. Valid values are:
    • 0: Default theme template.
    • 1: Public template, available for all themes.
    • 2: App-defined theme template, only effective for the current theme.
  • title string
    Title of the custom page.
    Example: Custom page
  • updated_at string
    The update time of the custom page. Format: yyyy-MM-dd HH:mm:ss.SSS.
    Example: 2023-09-11 16:49:35.120
Status Codes
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?