Add article
Event Group | Event Identification |
---|---|
article | article/create |
Create blog posts
Request Headers
- X-Shopline-Topic string requiredEvent operation identificationExample:
orders/edited
- X-Shopline-Hmac-Sha256 string requiredSignatureExample:
XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
- X-Shopline-Shop-Domain string requiredShop domainExample:
shophub.myshopline.com
- X-Shopline-Shop-Id string requiredShop IDExample:
1610418123456
- X-Shopline-Merchant-Id string requiredMerchant IDExample:
2000001234
- X-Shopline-API-Version string requiredVersionExample:
v20210901
- X-Shopline-Webhook-Id string requiredMessage IDExample:
b54557e48a5fbf7d70bcd043
Request Body
- author stringBlog post author nameExample:
3300497415
- blog_collection_id stringBlog collection idExample:
6183793d3d13eb7215351ed7
- content_html stringBlog post content htmlExample:
content
- created_at stringBlog post time to createExample:
2021-11-04 09:26:08
- digest stringBlog post summaryExample:
Summary of blogs
- handle stringBlog post handleExample:
/blog
- id stringBlog post idExample:
6184e55180b0982aeb720122
imageobject
Image informationalt stringPicture altsrc stringImage URL- published booleanBlog post statusExample:
true
- published_at stringBlog post timeExample:
2021-11-04 09:26:08
- tags stringBlog post tagsExample:
1,2,3
- template_name stringBlog post template name addressExample:
A template
- title stringBlog post titleExample:
One title
- updated_at stringBlog post update timeExample:
2021-11-04 09:26:08
- user_id stringBlog post author idExample:
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?