Event GroupEvent Identification
themesthemes/create
Theme create
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
  • create_at string
    Topic creation time (ISO 8601)
    Example: 2022-07-19T13:12:26+0800
  • id string
    Theme id
    Example: 619f3dd6f7742b5a41db32b1
  • name string
    Theme name
    Example: Arise
  • original_theme_id string
    Official theme template id , if the theme is not derived from the official theme , it is return lol
    Example: 612f228e9286d074924cf9ad
  • role string
    Theme status. Valid enumeration values ​​include: ● published: The topic has been published and can be viewed by customers ● unpublished: The topic is to be published and cannot be viewed by customers ● development: The topic is in development status and is used for development
    Example: published
  • store_id string
    store ID
    Example: 11234567893
  • theme_type_version string
    Theme version identifier
    Example: 2.1
  • update_at string
    Theme recent update time ( ISO 8601 )
    Example: 2022-07-19T13:12:26+0800
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?