Toggle business

PATCH https://staging.billeasy.in/api/customers/bills/{billid}/toggle_business

Path Parameters

Name
Type
Description

billid

string

ID of the cake to get, for free of course.

Headers

Name
Type
Description

Content-Type

string

x-customer-number

string

x-customer-token

string

x-api-access

string

x-api-secret

string

Authentication token to track down who is emptying our stocks.

{
  "success": true,
  "msg": "Bill was toggled between business and personal",
  "data": {
    "id": 25835,
    "customer_id": 551,
    "business": true,
    "slug": "1575389523579",
    "client_id": 7,
    "raw_bill_id": 30003,
    "discount": "0.0",
    "total": "1277.0",
    "tax": "230.0",
    "grand_total": "1507.0",
    "barcode": {
      "url": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/customer_bill/barcode/25835/bill_25835_barcode.png",
      "app": {
        "url": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/customer_bill/barcode/25835/app_bill_25835_barcode.png"
      }
    },
    "short_path": "b20a98",
    "snippet": "Formal Jacket / Coat (Cleaning & Ironing 315.00 Rs.), +2 more",
    "flagged": false,
    "bill_particulars_count": 0,
    "store_id": 6,
    "created_at": "2019-12-03T21:42:03.591+05:30",
    "updated_at": "2019-12-17T11:49:21.769+05:30",
    "mints_earned": "156.0",
    "bill_number": 809909,
    "is_android": null,
    "payment_type_id": null,
    "email": false,
    "points_earned": null,
    "sift_id": null,
    "verified": false,
    "metadata": {
      "order_number": null
    },
    "is_deleted": false
  }
}

Last updated