Skip to main content

Cart Created Notifications

History of changes

Change tagChange descriptionChange date
IAP-28135Cart creation notification created07.05.2026

You can receive notifications when shopping cart was created.

List of fields

The notification payload will include a 'cart' object containing the following details:

NameDescriptionR/O
subjectFor cart notifications the subject is cartR
typeNow we have only one type=createdR
objectIdCart unique identifierR
eventDateDate in ISO 8601 formatR
cart {object}Cart objectR
cart.idCart unique identifierR
cart.storeIdStore id from the cartR
cart.creationDateThe date when cart was createdR
cart.products []{object}List of products in cartR
cart.products[].publisherRefIdA unique ID for identifying your product in your information system, if definedO
cart.products[].idUnique ID for a product in the cartR
cart.products[].parentIdProduct parent ID (Unique ID of parent product in Monetize)R
cart.products[].businessSegmentProduct business segment: b2c, b2b, STRICT b2b or STRICT b2R
cart.products[].subscriptionTemplateSubscription template name in MonetizeO
cart.products[].fulfillmentTemplateFulfillment template ID in MonetizeO
cart.products[].trialBoolean indicating if product is trialR
cart.products[].giftBoolean indicating if product is giftR
cart.products[].taxExemptBoolean indicating if product has tax exemptionR
cart.products[].pricing {object}Price objectR
cart.products[].pricing.unitPriceExclVATProduct unit price, excluding sales taxR
cart.products[].pricing.unitPriceIncVATProduct unit price, including sales taxR
cart.products[].pricing.vatAmountVat amountO
cart.products[].pricing.vatRateSold product applied sales tax rateR
cart.products[].pricing.cumulatedDiscountRateDiscount rate applied to productO
cart.products[].pricing.allDiscountsApplied [{object}]Array of all applied discounts. Each discount represneted as objectO
cart.products[].pricing.allDiscountsApplied[].discountRateDiscount rate, f.e. 0.2O
cart.products[].pricing.allDiscountsApplied[].discountIdIdentifier of discount in MonetizeR
cart.products[].pricing.allDiscountsApplied[].discountCodeDiscount code (if any)O
cart.products[].pricing.allDiscountsApplied[].discountAmountAmount of discountO
cart.products[].discountPlan {object}Subscription discount plan node will exist in case if discount plan is applied to subscriptionO
cart.products[].discountPlan.tagSubscription discount plan tagR
cart.products[].discountPlan.discountStepSubscription discount plan step is used on acquisitionR
cart.products[].discountPlan.ignorePurchaseDiscountOnly in case if this flag was set on acquisitionO
cart.products[].extraTermBonus {object}Extra term bonus node will exist in case if Extra term bonus is applied to productO
cart.products[].extraTermBonus.extraTermBonusTagExtra term bonus tagR
cart.products[].extraTermBonus.valueNumber of extra term bonus unitsR
cart.products[].extraTermBonus.unitExtra term bonus unit: "months" or "days"R
cart.products[].upsellBoolean indicating if product was upsold or notR
cart.products[].quantityProduct quantityR
cart.products[].nameProduct nameR
cart.products[].subscriptionProductBoolean indicating if product is sold by subscription modelR
cart.products[].productFamilyProduct family nameO
cart.products[].expirationDateProduct license expiration date, if existsO
cart.localeCart localeR
cart.countryCart countryR
cart.price {object}Cart price objectR
cart.price.currencyCart price currencyR
cart.price.netPriceTotal price of a cart, excluding sales taxR
cart.price.grossPriceTotal price of a cart, including sales taxR
cart.customer {object}Customer objectR
cart.customer.customerIdCustomer id associated to the cartR
cart.customer.customerAccountCustomer realm name associated to the cartR
cart.customer.serveurCustomer name associated to the cartR
cart.externalContextBased64 encoded string of cart parametersO
cart.decodedExternalContextDecoded map of cart string parameters if they were provided in the json formatO
cart.sourceCart source: PURCHASE, SUBSCRIPTION, OFFER, MANUAL_RENEWAL, etcR
cart.scenarioCart scenario: acquisition, retention, etcO

If you need to get additional data, which is not available in the event, please refer to the REST API methods to get cart or other entities.

Example


{
"subject": "cart",
"type": "created",
"objectId": "cart-123456",
"eventDate": "2026-05-27T14:30:00Z",
"cart": {
"id": "cart-123456",
"storeId": "store-001",
"creationDate": "2026-05-27T14:25:00Z",

"products": [
{
"publisherRefId": "ERP-987654",
"id": "product-001",
"parentId": "parent-product-001",
"businessSegment": "b2c",
"fulfillmentTemplate": "template-001",
"trial": false,
"gift": false,
"taxExempt": false,

"pricing": {
"unitPriceExclVAT": 100.00,
"unitPriceIncVAT": 120.00,
"vatAmount": 20.00,
"vatRate": 0.20,
"cumulatedDiscountRate": 0.15,

"allDiscountsApplied": [
{
"discountRate": 0.10,
"discountId": "discount-001",
"discountCode": "WELCOME10",
"discountAmount": 10.00
}
],
},

"discountPlan": {
"tag": "SUMMER2026",
"discountStep": 1,
"ignorePurchaseDiscount": false
},

"extraTermBonus": {
"extraTermBonusTag": "BONUS3M",
"value": 3,
"unit": "months"
},

"upsell": false,
"quantity": 1,
"name": "Premium Subscription",
"subscriptionProduct": true,
"productFamily": "Subscriptions",
"expirationDate": "2027-05-27T00:00:00Z"
}
],

"locale": "en-US",
"country": "US",

"price": {
"currency": "USD",
"netPrice": 100.00,
"grossPrice": 120.00
},

"customer": {
"customerId": "customer-001",
"customerAccount": "acme-corp",
"serveur": "John Doe"
},

"externalContext": "eyJjaGFubmVsIjoid2ViIn0=",

"decodedExternalContext": {
"channel": "web"
},

"source": "PURCHASE",
"scenario": "acquisition"
}
}