Update page
Event Group | Event Identification |
---|---|
page | page/update |
Update custom page
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 stringCustom page authorExample:
3300497415
- body_html stringCustom page body_html contentExample:
content
- created_at stringCustomize the page creation timeExample:
2022-07-19 13:12:26
- handle stringCustom pages handleExample:
/custom/4659008009719961650
- id stringCustom page idExample:
4570533223805409322
- published_at stringCustomize page release timeExample:
2022-07-19 13:12:26
- published_status booleanCustom page post statusExample:
true
- shop_id stringStore idExample:
1607433620673
- template_name stringCustom page template nameExample:
A template
- template_type stringCustom pages template typeExample:
0
- title stringCustom page titleExample:
One page
- updated_at stringCustom page update timeExample:
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?