Multi Product Messages
JSON Samples
Multi Product Messages
Sample 1: No footer, 1 section with no section title, 4 product items
Changes to be made to the below code snippet:
- Header text
("header_value" key)
- Body text
("body" key)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer id
("product_retailer_id” keys)
(if required). Retrieve these IDs via Commerce Manager.
interactive:{"type":"multiproduct","header_type":"text","header_value":"This is the header text","body":"This is the body text","action":{"catalog_id":"64722793XXXXX794","sections":[{"product_items":[{"product_retailer_id":"Rhinestone-strap satin dress"},{"product_retailer_id":"Halterneck cropped top"},{"product_retailer_id":"Regular Fit Round-neck T-shirt"},{"product_retailer_id":"Relaxed Fit Oxford shirt"}]}]}}
Sample 2: Footer, 1 section with no section title, 4 product items
Changes to be made to the below code snippet:
- Header text
("header_value" key)
- Body text
("body" key)
- Footer text
("footer" key)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer ids
("product_retailer_id" keys)
(if required). Retrieve these IDs via Commerce Manager.
interactive:{"type":"multiproduct","header_type":"text","header_value":"This is the header text","body":"This is the body text","action":{"catalog_id":"64722793XXXXX794","sections":[{"product_items":[{"product_retailer_id":"Rhinestone-strap satin dress"},{"product_retailer_id":"Halterneck cropped top"},{"product_retailer_id":"Regular Fit Round-neck T-shirt"},{"product_retailer_id":"Relaxed Fit Oxford shirt"}]}]}}
Sample 3: No footer, 1 section with no section title, 10 product items
Changes to be made to the below code snippet:
- Header text
("header_value" key)
- Body text
("body" key)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer ids
("product_retailer_id" keys)
(if required). Retrieve these IDs via Commerce Manager.
interactive:{"type":"multiproduct","header_type":"text","header_value":"This is the header text","body":"This is the body text","action":{"catalog_id":"647227937XXXXX94","sections":[{"product_items":[{"product_retailer_id":"Ribbed jersey bodycon dress"},{"product_retailer_id":"Rhinestone-strap satin dress"},{"product_retailer_id":"Tie-detail ribbed dress"},{"product_retailer_id":"Halterneck cropped top"},{"product_retailer_id":"Crop top"},{"product_retailer_id":"Relaxed Fit Cotton T-shirt"},{"product_retailer_id":"Regular Fit Round-neck T-shirt"},{"product_retailer_id":"Patterned resort shirt"},{"product_retailer_id":"Relaxed Fit Oxford shirt"},{"product_retailer_id":"Relaxed Fit Twill shirt"}]}]}}
Sample 4: Footer, 1 section with no section title, 10 product items
Changes to be made to the below code snippet:
- Header text
("header_value" key)
- Body text
("body" key)
- Footer text
("footer" key)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer ids
("product_retailer_id" keys)
(if required). Retrieve these IDs via Commerce Manager.
interactive:{"type":"multiproduct","header_type":"text","header_value":"This is the header text","body":"This is the body text","footer":"This is the footer text","action":{"catalog_id":"6472279XXXXX3794","sections":[{"product_items":[{"product_retailer_id":"Ribbed jersey bodycon dress"},{"product_retailer_id":"Rhinestone-strap satin dress"},{"product_retailer_id":"Tie-detail ribbed dress"},{"product_retailer_id":"Halterneck cropped top"},{"product_retailer_id":"Crop top"},{"product_retailer_id":"Relaxed Fit Cotton T-shirt"},{"product_retailer_id":"Regular Fit Round-neck T-shirt"},{"product_retailer_id":"Patterned resort shirt"},{"product_retailer_id":"Relaxed Fit Oxford shirt"},{"product_retailer_id":"Relaxed Fit Twill shirt"}]}]}}
Sample 5: No footer, 1 section with section title, 4 prod uct items
Changes to be made to the below code snippet:
- Header text
("header_value" key)
- Body text
("body" key)
- Section title
("title" key)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer ids
("product_retailer_id" keys)
(if required). Retrieve these IDs via Commerce Manager.
interactive:{"type":"multiproduct","header_type":"text","header_value":"This is the header text","body":"This is the body text","action":{"catalog_id":"64722793XXXXX794","sections":[{"title":"Section Title","product_items":[{"product_retailer_id":"Rhinestone-strap satin dress"},{"product_retailer_id":"Halterneck cropped top"},{"product_retailer_id":"Regular Fit Round-neck T-shirt"},{"product_retailer_id":"Relaxed Fit Oxford shirt"}]}]}}
Sample 6: Footer, 1 section with section title, 4 product items
Changes to be made to the below code snippet:
- Header text
("header_value" key)
- Body text
("body" key)
- Footer text
("footer" key)
- Section title
("title" key)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer ids
("product_retailer_id" keys)
(if required). Retrieve these IDs via Commerce Manager.
interactive:{"type":"multiproduct","header_type":"text","header_value":"This is the header text","body":"This is the body text","footer":"This is the footer text","action":{"catalog_id":"647227XXXXXX9374","sections":[{"title":"Section Title","product_items":[{"product_retailer_id":"Rhinestone-strap satin dress"},{"product_retailer_id":"Halterneck cropped top"},{"product_retailer_id":"Regular Fit Round-neck T-shirt"},{"product_retailer_id":"Relaxed Fit Oxford shirt"}]}]}}
Sample 7: No footer, 1 section with section title, 10 product items
Changes to be made to the below code snippet:
- Header text
("header_value" key)
- Body text
("body" key)
- Section title
("title" key)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer ids
("product_retailer_id" keys)
(if required). Retrieve these IDs via Commerce Manager.
interactive:{"type":"multiproduct","header_type":"text","header_value":"This is the header text","body":"This is the body text","action":{"catalog_id":"64722XXXXXX79374","sections":[{"title":"Section Title","product_items":[{"product_retailer_id":"Ribbed jersey bodycon dress"},{"product_retailer_id":"Rhinestone-strap satin dress"},{"product_retailer_id":"Tie-detail ribbed dress"},{"product_retailer_id":"Halterneck cropped top"},{"product_retailer_id":"Crop top"},{"product_retailer_id":"Relaxed Fit Cotton T-shirt"},{"product_retailer_id":"Regular Fit Round-neck T-shirt"},{"product_retailer_id":"Patterned resort shirt"},{"product_retailer_id":"Relaxed Fit Oxford shirt"},{"product_retailer_id":"Relaxed Fit Twill shirt"}]}]}}
Sample 8: Footer, 1 section with section title, 10 product items
Changes to be made to the below code snippet:
- Header text
("header_value" key)
- Body text
("body" key)
- Footer text
("footer" key)
- Section title
("title" key)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer ids
("product_retailer_id" keys)
(if required). Retrieve these IDs via Commerce Manager.
interactive:{"type":"multiproduct","header_type":"text","header_value":"This is the header text","body":"This is the body text","footer":"This is the footer text","action":{"catalog_id":"647227XXXXXX9374","sections":[{"title":"Section Title","product_items":[{"product_retailer_id":"Ribbed jersey bodycon dress"},{"product_retailer_id":"Rhinestone-strap satin dress"},{"product_retailer_id":"Tie-detail ribbed dress"},{"product_retailer_id":"Halterneck cropped top"},{"product_retailer_id":"Crop top"},{"product_retailer_id":"Relaxed Fit Cotton T-shirt"},{"product_retailer_id":"Regular Fit Round-neck T-shirt"},{"product_retailer_id":"Patterned resort shirt"},{"product_retailer_id":"Relaxed Fit Oxford shirt"},{"product_retailer_id":"Relaxed Fit Twill shirt"}]}]}}
Sample 9: No footer, 2 sections each with section title and 5 product items
Changes to be made to the below code snippet:
- Header text
("header_value" key)
- Body text
("body" key)
- Section titles
("title" keys)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer ids
("product_retailer_id" keys)
(if required). Retrieve these IDs via Commerce Manager.
interactive:{"type":"multiproduct","header_type":"text","header_value":"This is the header text","body":"This is the body text","action":{"catalog_id":"647227XXXXXX9374","sections":[{"title":"Section 1 Title","product_items":[{"product_retailer_id":"Ribbed jersey bodycon dress"},{"product_retailer_id":"Rhinestone-strap satin dress"},{"product_retailer_id":"Tie-detail ribbed dress"},{"product_retailer_id":"Halterneck cropped top"},{"product_retailer_id":"Crop top"}]},{"title":"Section 2 Title","product_items":[{"product_retailer_id":"Relaxed Fit Cotton T-shirt"},{"product_retailer_id":"Regular Fit Round-neck T-shirt"},{"product_retailer_id":"Patterned resort shirt"},{"product_retailer_id":"Relaxed Fit Oxford shirt"},{"product_retailer_id":"Relaxed Fit Twill shirt"}]}]}}
Sample 10: Footer, 2 sections each with section title and 5 product items
Changes to be made to the below code snippet:
- Header text
("header_value" key)
- Body text
("body" key)
- Footer text
("footer" key)
- Section titles
("title" keys)
- Catalog id
("catalog_id” key)
Retrieve this ID via Commerce Manager. - Product retailer ids
("product_retailer_id" keys)
(if required). Retrieve these IDs via Commerce Manager.
interactive:{"type":"multiproduct","header_type":"text","header_value":"This is the header text","body":"This is the body text","footer":"This is the footer text","action":{"catalog_id":"6472279XXXXXX374","sections":[{"title":"Section 1 Title","product_items":[{"product_retailer_id":"Ribbed jersey bodycon dress"},{"product_retailer_id":"Rhinestone-strap satin dress"},{"product_retailer_id":"Tie-detail ribbed dress"},{"product_retailer_id":"Halterneck cropped top"},{"product_retailer_id":"Crop top"}]},{"title":"Section 2 Title","product_items":[{"product_retailer_id":"Relaxed Fit Cotton T-shirt"},{"product_retailer_id":"Regular Fit Round-neck T-shirt"},{"product_retailer_id":"Patterned resort shirt"},{"product_retailer_id":"Relaxed Fit Oxford shirt"},{"product_retailer_id":"Relaxed Fit Twill shirt"}]}]}}
Updated about 1 year ago