Cart bonuses
add bonus card
request
POST /api/v2/carts/0e9848d7-66e9-4aa8-b573-ab239c985665/bonus-card/0 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Parameter | Description |
---|---|
|
UUID корзины |
|
Id бонусной карты |
response
HTTP/1.1 200 OK
update bonus mode
request
PUT /api/v2/carts/bdf34d80-e19f-443d-b2bc-dd5ec54f1554/bonus-card/mode HTTP/1.1
{
"bonusMode" : "SPENDING"
}
Parameter | Description |
---|---|
|
UUID корзины |
response
HTTP/1.1 200 OK
delete bonus card
request
DELETE /api/v2/carts/74671490-ffd5-4c7b-8685-c4b85c288c11/bonus-card HTTP/1.1
Parameter | Description |
---|---|
|
UUID корзины |
response
HTTP/1.1 200 OK