Cart serves

Чтобы видеть список услуг для добавления, сначала этот список нужно проинициализировать

get serves for sale

Список доступных типов услуг для текущего пользователя вместе со скидками.
request
GET /api/v2/carts/8279bf47-fdf1-4d7b-9a3d-a025cdd2e5d1/serves/for-sale HTTP/1.1
Table 70. /api/v2/carts/{cartUuid}/serves/for-sale
Parameter Description

cartUuid

UUID корзины

response
HTTP/1.1 200 OK

[ {
  "id" : "9345112901",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345112901,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345112901,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.17597706",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "1000000102",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 1000000102,
    "retailPrice" : 500.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 1000000102,
      "name" : "Проверка зрения"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175960017",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345112900",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345112900,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345112900,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175976051",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "1000000100",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 1000000100,
    "retailPrice" : 1.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 1000000100,
      "name" : "1"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175953299",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "1000000101",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 1000000101,
    "retailPrice" : 300.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 1000000101,
      "name" : "Изготовление очков"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175958761",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345112902",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345112902,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345112902,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175978059",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111242",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111242,
    "retailPrice" : 450.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111242,
      "name" : "test normal vat serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175964473",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111243",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111243,
    "retailPrice" : 450.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111243,
      "name" : "test privileged vat serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175965482",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111400",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111400,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111400,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175985777",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111301",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111301,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111301,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175983204",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111401",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111401,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111401,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175986775",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111302",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111302,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111302,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175984778",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111222",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111222,
    "retailPrice" : 450.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111222,
      "name" : "test normal vat serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175962111",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111223",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111223,
    "retailPrice" : 450.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111223,
      "name" : "test privileged vat serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175963215",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111300",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111300,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111300,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175982172",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9999111222",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9999111222,
    "retailPrice" : 450.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9999111222,
      "name" : "test normal vat serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175968462",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9999111223",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9999111223,
    "retailPrice" : 450.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9999111223,
      "name" : "test privileged vat serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175969492",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111402",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111402,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111402,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.17598777",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111253",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111253,
    "retailPrice" : 450.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111253,
      "name" : "test privileged vat serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175971911",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345112101",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345112101,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345112101,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175974009",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111232",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111232,
    "retailPrice" : 450.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111232,
      "name" : "test normal vat serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175966467",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345112100",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345112100,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345112100,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175972975",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111252",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111252,
    "retailPrice" : 450.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111252,
      "name" : "test normal vat serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.17597055",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345112302",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345112302,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345112302,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175981091",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345112301",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345112301,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345112301,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175980084",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345111233",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345111233,
    "retailPrice" : 450.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345111233,
      "name" : "test privileged vat serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175967453",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345112300",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345112300,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345112300,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.17597906",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9345112102",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9345112102,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9345112102,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175975017",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
}, {
  "id" : "9000444155",
  "sellable" : {
    "className" : "CartServeForSale",
    "id" : 9000444155,
    "retailPrice" : 100.0,
    "purchasingPrice" : null,
    "soldPrice" : null,
    "baseSalePrice" : null,
    "sellableCategory" : "SERVE",
    "expected" : false,
    "serveType" : {
      "id" : 9000444155,
      "name" : "test serve type"
    },
    "comment" : null,
    "employee" : null,
    "serveTypeIds" : null,
    "count" : 0,
    "needsComment" : false,
    "orderId" : null
  },
  "createdAt" : "2025-08-27T07:22:00.175961095",
  "localCreatedAt" : null,
  "activeDiscount" : null,
  "selectedDiscountAvailable" : true,
  "extraDiscount" : null,
  "extraDiscountAvailable" : true,
  "bonusDiscount" : null,
  "vipDiscountAvailable" : true,
  "lockedDiscount" : null,
  "accumulationBonusRule" : null,
  "spendBonusRule" : null,
  "autoDiscountCache" : null,
  "accumulationBonusRuleCache" : null,
  "spendBonusRuleCache" : null,
  "price" : 0.0,
  "discountPrice" : 0.0,
  "bannedDiscounts" : [ ],
  "discounts" : [ ]
} ]
Table 71. response description
Path Type Description

id

String

Id услуги

sellable

Object

Тип услуги

sellable.retailPrice

Object

Стоимость без скидок

sellable.count

Number

Количество услуг

sellable.serveTypeName

String

Имя услуги

sellable.comment

String

Комментарий

sellable.employee

Object

Пользователь, назначенный на услугу

sellable.needsComment

Object

Нужен ли комментарий

activeDiscount

Object

Основная скидка

extraDiscount

Object

Дополнительная скидка

discountPrice

Number

Стоимость со скидками

initialize serves for sale

Инициализация доступных услуг (должна быть вызвана сразу при открытии списка услуг, до остальных действий с услугами)
request
POST /api/v2/carts/825d3d3d-f04a-481c-9e35-decc2c97b7b5/serves/for-sale HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Table 72. /api/v2/carts/{cartUuid}/serves/for-sale
Parameter Description

cartUuid

UUID корзины

response
HTTP/1.1 200 OK

add serves for sale

Изменение кол-ва услуг в списке на добавление
request
PUT /api/v2/carts/bb50b2ca-cf6e-4e19-a27e-6c9ed62f127c/serves/for-sale HTTP/1.1

{
  "serveTypeId" : 1000000102,
  "count" : 3,
  "userId" : 9000000008,
  "comment" : null
}
Table 73. /api/v2/carts/{cartUuid}/serves/for-sale
Parameter Description

cartUuid

UUID корзины

response
HTTP/1.1 200 OK

add serves

Добавление услуг в корзину.
Для услуг в корзине генерируется свой uid.
request
PUT /api/v2/carts/ca5fc6b3-8e41-4efb-a234-8d512ddb2489/serves HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Table 74. /api/v2/carts/{cartUuid}/serves
Parameter Description

cartUuid

UUID корзины

response
HTTP/1.1 200 OK

delete serve discount

Удаление скидки на услугу в списке добавления услуг
request
DELETE /api/v2/carts/8ef33f18-b404-4d15-8a01-fc2488cf41de/serves/for-sale/items/1000000102/discounts HTTP/1.1
Table 75. /api/v2/carts/{cartUuid}/serves/for-sale/items/{cartItemId}/discounts
Parameter Description

cartUuid

UUID корзины

cartItemId

Id позиции в корзине

response
HTTP/1.1 200 OK