Cross-sell
Overview
The object below is returned directly or within a successful response from the following API requests:
Retrieve a product’s cross-sell campaigns Retrieve cross-sell campaigns
Cross-sell object
Parameter | Type/Description | |
---|---|---|
MasterProducts |
Array |
|
|
Array of product codes for the items you set to trigger the cross-sell campaign. |
|
DisplayType |
String |
|
|
|
|
DisplayInEmail |
Boolean |
|
|
True or false depending on whether you set the cross-sell campaign to display in payment receipt emails or not. |
|
Products |
Array of objects |
|
|
Details below |
|
|
ProductCode |
String |
|
|
Product code for the item you set as recommended for the cross-sell campaign. |
|
Discount |
String |
|
|
Value of the discount. This is a percentage. |
|
DiscountType |
String |
|
|
PERCENT – you can only set discounts as a percentage of the product price. |
CampaignCode |
String |
|
|
Unique, system-generated cross-sell campaign code. |
|
Name |
String |
|
|
Campaign name. |
|
StartDate |
String |
|
|
YYYY-MM-DD. The start date you set for the cross-sell campaign. |
|
EndDate |
String |
|
|
YYYY-MM-DD. The end date you set for the cross-sell campaign. |