Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BODY: {
- "phone": "79162194445",
- "sale_point_id": "5408a86a-0813-6de7-9949-80b8f0666cce",
- "discount": 0,
- "items": [
- {
- "amount": 48,
- "quantity": 1,
- "discount": 0,
- "name": "Сочник",
- "type": "product",
- "groups": [
- "Кафе \"МУ - МУ\"",
- "Десерт",
- "Печенье/Конфеты"
- ],
- "tags": [
- "Продукты"
- ]
- },
- {
- "amount": 109,
- "quantity": 1,
- "discount": 0,
- "name": "Кабачки маринованные",
- "type": "product",
- "groups": [
- "Кафе \"МУ - МУ\"",
- "Салаты и Закуски",
- "Холодные закуски"
- ],
- "tags": [
- "Продукты"
- ]
- },
- {
- "amount": 109,
- "quantity": 1,
- "discount": 0,
- "name": "Окрошка",
- "type": "product",
- "groups": [
- "Кафе \"МУ - МУ\"",
- "Супы"
- ],
- "tags": [
- "Продукты"
- ]
- },
- {
- "amount": 69,
- "quantity": 1,
- "discount": 0,
- "name": "Морс 0,3",
- "type": "product",
- "groups": [
- "Кафе \"МУ - МУ\"",
- "Безалкогольные напитки",
- "Морс/Квас"
- ],
- "tags": [
- "Безалкогольные"
- ]
- },
- {
- "amount": 131,
- "quantity": 1,
- "discount": 0,
- "name": "Лапша соба с курицей",
- "type": "product",
- "groups": [
- "Кафе \"МУ - МУ\"",
- "Горячие блюда",
- "Паста"
- ],
- "tags": [
- "Продукты"
- ]
- }
- ]
- }
- RESPONSE:
- {
- "success": true,
- "balance": 115,
- "write_off_available": 93,
- "card_payment_available": 0,
- "total_discount_external": 0,
- "total_discount_premiumbonus": 0,
- "items": [
- {
- "amount": 48,
- "discount_external": 0,
- "discount_premiumbonus": 0,
- "write_off_available": 9.6
- },
- {
- "amount": 109,
- "discount_external": 0,
- "discount_premiumbonus": 0,
- "write_off_available": 21.8
- },
- {
- "amount": 109,
- "discount_external": 0,
- "discount_premiumbonus": 0,
- "write_off_available": 21.8
- },
- {
- "amount": 69,
- "discount_external": 0,
- "discount_premiumbonus": 0,
- "write_off_available": 13.8
- },
- {
- "amount": 131,
- "discount_external": 0,
- "discount_premiumbonus": 0,
- "write_off_available": 26.2
- }
- ],
- "print_on_precheck": "",
- "logger": "XBbApcdP"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement