Campaign products
Get a campaign product
Get information about a specific campaign product, including its pricing, validity period, store restrictions, and presentation data such as name, subtitle, and image.
get/campaign-products/{campaign_product_id}
Path parameters
campaign_product_idstring required
The unique ID of the campaign product in CareCloud.
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Response
OK
Example response
{
"data": {
"campaign_product_id": "8bed991c68a470e7aaeffbf048",
"product_id": "8ad4ff4db9d628f2c8cb6181a4",
"currency_id": "8bed991c68a470e7aaeffbf048",
"campaign_id": "8ad8b2b701199684f1222961d6",
"value": 50,
"value_type_id": 1,
"valid_from": "2021-04-16 00:00:00",
"valid_to": "2021-05-16 23:59:59",
"display_in": [
"mapi"
],
"type_id": "86e05affc7a7abefcd513ab400",
"presentation_data": {
"name": "T-shirt 10% off",
"subtitle": "Discount only in following week",
"note": "This offer is limited",
"image_url": "https://developers.crmcarecloud.com/img/customer_enterprise.png"
},
"campaign_product_property_records": [
{
"property_record_id": "docasna_blokace_darce_do:8ea2591121e636086a4a9c0992",
"property_id": "docasna_blokace_darce_do",
"property_name": "Property #6",
"last_change": "2023-02-02 00:00:00"
}
],
"last_change": "2021-04-16 19:02:22",
"state": 1
}
}