Event GroupEvent Identification
articlearticle/create
Create blog posts
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
    Blog post author name
    Example: 3300497415
  • blog_collection_id string
    Blog collection id
    Example: 6183793d3d13eb7215351ed7
  • content_html string
    Blog post content html
    Example: content
  • created_at string
    Blog post time to create
    Example: 2021-11-04 09:26:08
  • digest string
    Blog post summary
    Example: Summary of blogs
  • handle string
    Blog post handle
    Example: /blog
  • id string
    Blog post id
    Example: 6184e55180b0982aeb720122
  • imageobject
    Image information
  • alt string
    Picture alt
  • src string
    Image URL
  • published boolean
    Blog post status
    Example: true
  • published_at string
    Blog post time
    Example: 2021-11-04 09:26:08
  • tags string
    Blog post tags
    Example: 1,2,3
  • template_name string
    Blog post template name address
    Example: A template
  • title string
    Blog post title
    Example: One title
  • updated_at string
    Blog post update time
    Example: 2021-11-04 09:26:08
  • user_id string
    Blog post author id
    Example: 3300497415
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?