This schema is used internally by Spark, not for OpCo integration.
Object used to describe event bulk add to cart.
Used in zeebe process bulk-add-items-to-cart-process
Tenant identifier for an OpCo
"BEL-CEBEO"
OpCo's organizational customer number that uniquely identifies its account
"ACCOUNT"
Field, needed by OpCo organised with a regional model or commercial organisation. It can be used to filter or route based on the orgId.
"org123"
The locale use the IETF BCP 47 language tag of the locale (language and country). Used to indicate the language of the asset.
"fr-BE"
Logistic method chosen for the cart
"PICK_UP"
OpCo-provided ID of the project
"52721026"
List of specials prices agreements ids associated to an order or a price
No Additional Items"12345"
"6789"
When this field is set to true, all the Special Price Agreements available for the requested account will be used to calculate the best price.
false
Cart's items composed by product information and price
No Additional ItemsItem within the BulkAddItemsToCart object
The unique product identifier depending on each operating company backend system (like ERP product ID)
"0079073"
Product information
{
"minQuantity": 2,
"quantitySteps": 2,
"opcoSellerId": "shop-2009",
"opcoProductId": "SEL1_1234567890"
}
Minimum quantity of a product which could be ordered
1
Sold in steps or quantity intervals of a product
1
Seller ID, as known by the opCo.
"shop-2009"
Product identifier defined by the opco when sold by this seller. This field is optional and if defined it overrides identifier.opcoProductId.
"732D16"
Product quantity wanted
10
The unique campaign identifier
"007"
Contains the detail of prices related to the current product and line item
The total amount of all the items of the order after applying promotions, without taxes
{
"amount": 13800,
"scale": 2,
"currency": "EUR"
}
The actual unscaled amount
205987
The scale to be applied on the unscaled amount
2
The currency code following the ISO 4217 standard 3 letters in which the prices are being displayed
"EUR"
List price of the product, to be used/shown in case there is no customer negotiated net price
{
"amount": 17760,
"scale": 2,
"currency": "EUR"
}
The actual unscaled amount
205987
The scale to be applied on the unscaled amount
2
The currency code following the ISO 4217 standard 3 letters in which the prices are being displayed
"EUR"
Details about the price's context
{
"type": "SPECIAL_PRICE_AGREEMENT",
"id": "SPA-876",
"title": "Special price agreement 876"
}
{
"type": "MARKETPLACE",
"id": "2068",
"title": "Marketplace price 2068"
}
An identifier of the contract or project related to this price
"SPA-984"
"PROJECT-7463"
"2068"
A short title for this price
"Special price agreement 984"
"Contract schneider"
"Marketplace price 2068"
The type of this price
"SPECIAL_PRICE_AGREEMENT"
Details of the promotion applied to the price
{
"campaignId": "47384723",
"title": "Promotion 1",
"promotionalNetPrice": {
"amount": 3500,
"scale": 2,
"currency": "EUR"
}
}
The unique campaign identifier of selected promotion campaign
"RAMADAN_2022"
A human readable title of this promotion
"Gas paid in ruble will be cheaper"
The alternate product id (Since promotions in cebeo is handled by maintaining 2 different id for normal and promotional product), might not be required by other opCo
"0987654321"
Precomputed promotional price on top of netPrice, This is the case when promotional percentage is not present and the promotional price is directly computed and available to show
The actual unscaled amount
205987
The scale to be applied on the unscaled amount
2
The currency code following the ISO 4217 standard 3 letters in which the prices are being displayed
"EUR"
Percentage of discount on net price, If we have this value then promotionalNetPrice is needed also
10.0
List of taxes to be applied to net price or promotional net price in case of promotion
No Additional ItemsContains the tax's information with either percentage or exact amount as preferable, or just a code
A tax with a fix amount
A tax represented by a percentage
A tax represented by a code
Type of tax which is applicable to the underlying product
"VAT"
This flag determines if the tax is a surcharge to be added to netPrice/promotionalNetPrice before applying Tax. The Tax computation happens on top of ((netPrice or promotionalNetPrice)+surcharges).
true
The percentage of the net price
20.0
Contains the amount information based on the type of prices we might have
The actual unscaled amount
205987
The scale to be applied on the unscaled amount
2
The currency code following the ISO 4217 standard 3 letters in which the prices are being displayed
"EUR"
The code of tax
"Standard-20%"
[
{
"type": "VAT",
"surcharge": false,
"percentage": 20.0
}
]
{
"productId": "67890",
"quantity": 3,
"campaignId": "56789",
"productInformation": {
"minQuantity": 2,
"quantitySteps": 2
},
"priceInformation": {
"promotion": {
"campaignId": "47384723",
"title": "RAMADAN_2022",
"promotionalNetPrice": {
"amount": 3500,
"scale": 2,
"currency": "EUR"
}
},
"taxes": [
{
"surcharge": false,
"type": "VAT",
"percentage": 20.0
},
{
"surcharge": true,
"type": "ECOTAX",
"amount": {
"amount": 1500,
"scale": 2,
"currency": "EUR"
}
}
]
}
}
This field defines if the account for which this bulk add process has been triggered has access to marketplace
true