Single Product Messages
JSON Samples
Sample 1: No body or footer
Changes to be made to the below code snippet:
- Catalog id
("catalog_id” key)
. Retrieve this ID via Commerce Manager. - Product retailer id
("product_retailer_id" key)
(if required). Retrieve this ID via Commerce Manager.
interactive:{"type":"singleproduct","action":{"catalog_id":"6472279XXXXX3924","product_retailer_id":"Tie-detail ribbed dress"}}
Sample 2: Body, no footer
Changes to be made to the below code snippet:
- Body text
("body" key)
- Catalog id
("catalog_id” key)
. Retrieve this ID via Commerce Manager.
Product retailer id("product_retailer_id” key)
(if required). Retrieve this ID via Commerce Manager.
interactive:{"type":"singleproduct","body":"This is the body text","action":{"catalog_id":"647227937XXXXX94","product_retailer_id":"Tie-detail ribbed dress"}}
Sample 3: Body and footer
Changes to be made to the below code snippet:
- Body text
("body" key)
- Footer text
("footer" key)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer id
("product_retailer_id” key)
(if required). Retrieve this ID via Commerce Manager.
interactive:{"type":"singleproduct","body":"This is the body text","footer":"This is the footer text","action":{"catalog_id":"6472279XXXXX3794","product_retailer_id":"Tie-detail ribbed dress"}}
Updated about 1 year ago