{
"rule": {
"filter": "ItemFilter",
"not": true,
"value": null,
"operator": "And",
"conditions": [
{}
],
"operation": "eq"
},
"actionRule": {
"filter": "Price",
"not": true,
"value": null,
"operator": "And",
"conditions": [
{}
],
"operation": "eq"
},
"actionType": "DiscountPercentage",
"maxDiscountQuantity": 0,
"buyX": 0,
"id": "string",
"companyId": "string",
"name": "string",
"description": "string",
"status": "Draft",
"customerGroupIds": [
"string"
],
"from": "2019-08-24T14:15:22Z",
"to": "2019-08-24T14:15:22Z",
"priority": 0,
"value": 0,
"isEndRule": true,
"updateDate": "2019-08-24T14:15:22Z",
"insertDate": "2019-08-24T14:15:22Z"
}
curl --location --request PUT 'https://platform.shopranos.eu/api/pricing/cart/' \
--header 'Content-Type: application/json' \
--data-raw '{
"rule": {
"filter": "ItemFilter",
"not": true,
"value": null,
"operator": "And",
"conditions": [
{}
],
"operation": "eq"
},
"actionRule": {
"filter": "Price",
"not": true,
"value": null,
"operator": "And",
"conditions": [
{}
],
"operation": "eq"
},
"actionType": "DiscountPercentage",
"maxDiscountQuantity": 0,
"buyX": 0,
"id": "string",
"companyId": "string",
"name": "string",
"description": "string",
"status": "Draft",
"customerGroupIds": [
"string"
],
"from": "2019-08-24T14:15:22Z",
"to": "2019-08-24T14:15:22Z",
"priority": 0,
"value": 0,
"isEndRule": true,
"updateDate": "2019-08-24T14:15:22Z",
"insertDate": "2019-08-24T14:15:22Z"
}'
{}