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
Table 87. /api/v2/carts/{cartUuid}/bonus-card/{cardId}
Parameter Description

cartUuid

UUID корзины

cardId

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"
}
Table 88. /api/v2/carts/{cartUuid}/bonus-card/mode
Parameter Description

cartUuid

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
Table 89. /api/v2/carts/{cartUuid}/bonus-card
Parameter Description

cartUuid

UUID корзины

response
HTTP/1.1 200 OK