Get store home

GET https://staging.billeasy.in/api/customers/cards/{card_ID}

This endpoint allows you to get free cakes.

Path Parameters

Name
Type
Description

id

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": "Store home",
  "data": {
    "id": "647",
    "type": "cards",
    "attributes": {
      "client_address": "Unit no. 3, 4 & 5, 4th floor, Aman Chambers, Opera House, charni road, Mumbai, Maharashtra, 4000041",
      "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/307/main_file.png",
      "client_settings": {
        "offers": {
          "redeem_multiple": false
        }
      },
      "background": null,
      "coordinates": ", ",
      "client_name": "Mad Over Donuts",
      "client_exec_threshold": "500.0",
      "client_gold_threshold": "1000.0",
      "client_exec_mints": 50,
      "client_gold_mints": 100,
      "client_avg_per_customer": "100.0",
      "customer_level_wrt_client": "Gold",
      "customer_visits": 8,
      "client_contact": "7000757807",
      "store_info": null,
      "accent": "f68b33",
      "events": [],
      "offers": [],
      "surveys": [],
      "bills": [
        {
          "id": 25780,
          "total_amount": "159.0",
          "discount": "0.0",
          "tax": "24.0",
          "created_at": "2019-11-26T16:08:32.339+05:30",
          "is_edison_bill": false,
          "snippet": "Oreo Cookie Cream",
          "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/307/main_file.png",
          "client_name": "Mad Over Donuts, charni road",
          "username": "",
          "personal": true,
          "category": "F&B",
          "mints_earned": 180,
          "group_shares": [],
          "shared": false,
          "bill_date": "November 26",
          "client_type": 1,
          "currency": "INR",
          "currency_rate": null,
          "twitter_handle": null,
          "accent": "f68b33",
          "card_background": {
            "url": null,
            "web": {
              "url": null
            },
            "app": {
              "url": null
            }
          },
          "client_address": "Mad Over Donuts, Unit no. 3, 4 & 5, 4th floor, Aman Chambers, Opera House, charni road",
          "bill_number": null,
          "razorpay_payment_id": null,
          "razorpay_invoice_id": null,
          "razorpay_order_id": null
        },
        {
          "id": 25699,
          "total_amount": "80.0",
          "discount": "0.0",
          "tax": "0.0",
          "created_at": "2019-11-04T16:31:39.367+05:30",
          "is_edison_bill": false,
          "snippet": "Dark Knight Donut",
          "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/307/main_file.png",
          "client_name": "Mad Over Donuts, charni road",
          "username": "",
          "personal": true,
          "category": "F&B",
          "mints_earned": 100,
          "group_shares": [
            {
              "id": 149,
              "customer_bill_id": 25699,
              "customer_id": 607,
              "customer_name": "Anuj Mourya",
              "phone": "9969330760",
              "tax": "0.0",
              "discount": "0.0",
              "total": "40.0",
              "grand_total": "40.0",
              "mints_earned": 5,
              "status": null,
              "group_share_type_id": 2,
              "group_share_particulars": [
                {
                  "id": 316,
                  "group_share_id": 149,
                  "bill_particular_id": 49219,
                  "quantity": "0.5",
                  "tax": "0.0",
                  "discount": "0.0",
                  "total": "40.0",
                  "grand_total": "0.0",
                  "created_at": "2019-11-12T16:01:58.133+05:30",
                  "updated_at": "2019-11-12T16:01:58.133+05:30",
                  "particular": "Dark Knight Donut"
                }
              ]
            },
            {
              "id": 150,
              "customer_bill_id": 25699,
              "customer_id": 551,
              "customer_name": "Yash Thakur",
              "phone": "9892228599",
              "tax": "0.0",
              "discount": "0.0",
              "total": "40.0",
              "grand_total": "40.0",
              "mints_earned": 6,
              "status": null,
              "group_share_type_id": 2,
              "group_share_particulars": [
                {
                  "id": 317,
                  "group_share_id": 150,
                  "bill_particular_id": 49219,
                  "quantity": "0.5",
                  "tax": "0.0",
                  "discount": "0.0",
                  "total": "40.0",
                  "grand_total": "0.0",
                  "created_at": "2019-11-12T16:01:58.196+05:30",
                  "updated_at": "2019-11-12T16:01:58.196+05:30",
                  "particular": "Dark Knight Donut"
                }
              ]
            }
          ],
          "shared": true,
          "bill_date": "November 04",
          "client_type": 1,
          "currency": "INR",
          "currency_rate": null,
          "twitter_handle": null,
          "accent": "f68b33",
          "card_background": {
            "url": null,
            "web": {
              "url": null
            },
            "app": {
              "url": null
            }
          },
          "client_address": "Mad Over Donuts, Unit no. 3, 4 & 5, 4th floor, Aman Chambers, Opera House, charni road",
          "bill_number": null,
          "razorpay_payment_id": null,
          "razorpay_invoice_id": null,
          "razorpay_order_id": null
        },
        {
          "id": 25614,
          "total_amount": "825.0",
          "discount": "0.0",
          "tax": "39.29",
          "created_at": "2019-10-21T18:34:10.527+05:30",
          "is_edison_bill": false,
          "snippet": "Box Of Happ Iness",
          "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/307/main_file.png",
          "client_name": "Mad Over Donuts, charni road",
          "username": "",
          "personal": true,
          "category": "F&B",
          "mints_earned": 840,
          "group_shares": [
            {
              "id": 143,
              "customer_bill_id": 25614,
              "customer_id": 725,
              "customer_name": "Aman Chaudhary",
              "phone": "9136702527",
              "tax": "19.64",
              "discount": "0.0",
              "total": "392.86",
              "grand_total": "412.5",
              "mints_earned": 41,
              "status": null,
              "group_share_type_id": 1,
              "group_share_particulars": [
                {
                  "id": 310,
                  "group_share_id": 143,
                  "bill_particular_id": 49104,
                  "quantity": "0.5",
                  "tax": "19.64",
                  "discount": "0.0",
                  "total": "392.86",
                  "grand_total": "0.0",
                  "created_at": "2019-11-02T16:14:24.762+05:30",
                  "updated_at": "2019-11-02T16:14:24.762+05:30",
                  "particular": "Box Of Happ Iness"
                }
              ]
            },
            {
              "id": 144,
              "customer_bill_id": 25614,
              "customer_id": 551,
              "customer_name": "Yash Thakur",
              "phone": "9892228599",
              "tax": "19.64",
              "discount": "0.0",
              "total": "392.86",
              "grand_total": "412.5",
              "mints_earned": 43,
              "status": null,
              "group_share_type_id": 1,
              "group_share_particulars": [
                {
                  "id": 311,
                  "group_share_id": 144,
                  "bill_particular_id": 49104,
                  "quantity": "0.5",
                  "tax": "19.64",
                  "discount": "0.0",
                  "total": "392.86",
                  "grand_total": "0.0",
                  "created_at": "2019-11-02T16:14:24.824+05:30",
                  "updated_at": "2019-11-02T16:14:24.824+05:30",
                  "particular": "Box Of Happ Iness"
                }
              ]
            }
          ],
          "shared": true,
          "bill_date": "October 21",
          "client_type": 1,
          "currency": "INR",
          "currency_rate": null,
          "twitter_handle": null,
          "accent": "f68b33",
          "card_background": {
            "url": null,
            "web": {
              "url": null
            },
            "app": {
              "url": null
            }
          },
          "client_address": "Mad Over Donuts, Unit no. 3, 4 & 5, 4th floor, Aman Chambers, Opera House, charni road",
          "bill_number": null,
          "razorpay_payment_id": null,
          "razorpay_invoice_id": null,
          "razorpay_order_id": null
        },
        {
          "id": 25613,
          "total_amount": "825.0",
          "discount": "0.0",
          "tax": "39.29",
          "created_at": "2019-10-21T18:25:54.428+05:30",
          "is_edison_bill": false,
          "snippet": "Box Of Happ Iness",
          "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/307/main_file.png",
          "client_name": "Mad Over Donuts, charni road",
          "username": "",
          "personal": true,
          "category": "F&B",
          "mints_earned": 840,
          "group_shares": [
            {
              "id": 145,
              "customer_bill_id": 25613,
              "customer_id": 607,
              "customer_name": "Anuj Mourya",
              "phone": "9969330760",
              "tax": "19.64",
              "discount": "0.0",
              "total": "392.86",
              "grand_total": "412.5",
              "mints_earned": 41,
              "status": null,
              "group_share_type_id": 1,
              "group_share_particulars": [
                {
                  "id": 312,
                  "group_share_id": 145,
                  "bill_particular_id": 49103,
                  "quantity": "0.5",
                  "tax": "19.64",
                  "discount": "0.0",
                  "total": "392.86",
                  "grand_total": "0.0",
                  "created_at": "2019-11-04T12:59:22.084+05:30",
                  "updated_at": "2019-11-04T12:59:22.084+05:30",
                  "particular": "Box Of Happ Iness"
                }
              ]
            },
            {
              "id": 146,
              "customer_bill_id": 25613,
              "customer_id": 551,
              "customer_name": "Yash Thakur",
              "phone": "9892228599",
              "tax": "19.64",
              "discount": "0.0",
              "total": "392.86",
              "grand_total": "412.5",
              "mints_earned": 43,
              "status": null,
              "group_share_type_id": 1,
              "group_share_particulars": [
                {
                  "id": 313,
                  "group_share_id": 146,
                  "bill_particular_id": 49103,
                  "quantity": "0.5",
                  "tax": "19.64",
                  "discount": "0.0",
                  "total": "392.86",
                  "grand_total": "0.0",
                  "created_at": "2019-11-04T12:59:22.140+05:30",
                  "updated_at": "2019-11-04T12:59:22.140+05:30",
                  "particular": "Box Of Happ Iness"
                }
              ]
            }
          ],
          "shared": true,
          "bill_date": "October 21",
          "client_type": 1,
          "currency": "INR",
          "currency_rate": null,
          "twitter_handle": null,
          "accent": "f68b33",
          "card_background": {
            "url": null,
            "web": {
              "url": null
            },
            "app": {
              "url": null
            }
          },
          "client_address": "Mad Over Donuts, Unit no. 3, 4 & 5, 4th floor, Aman Chambers, Opera House, charni road",
          "bill_number": null,
          "razorpay_payment_id": null,
          "razorpay_invoice_id": null,
          "razorpay_order_id": null
        },
        {
          "id": 25612,
          "total_amount": "129.0",
          "discount": "0.0",
          "tax": "6.14",
          "created_at": "2019-10-21T18:19:23.301+05:30",
          "is_edison_bill": false,
          "snippet": "1 Donut & A Cappuccino",
          "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/307/main_file.png",
          "client_name": "Mad Over Donuts, charni road",
          "username": "",
          "personal": true,
          "category": "F&B",
          "mints_earned": 140,
          "group_shares": [
            {
              "id": 151,
              "customer_bill_id": 25612,
              "customer_id": 607,
              "customer_name": "Anuj Mourya",
              "phone": "9969330760",
              "tax": "3.07",
              "discount": "0.0",
              "total": "61.43",
              "grand_total": "64.5",
              "mints_earned": 8,
              "status": null,
              "group_share_type_id": 2,
              "group_share_particulars": [
                {
                  "id": 318,
                  "group_share_id": 151,
                  "bill_particular_id": 49102,
                  "quantity": "0.5",
                  "tax": "0.0",
                  "discount": "0.0",
                  "total": "61.43",
                  "grand_total": "0.0",
                  "created_at": "2019-11-12T16:04:44.762+05:30",
                  "updated_at": "2019-11-12T16:04:44.762+05:30",
                  "particular": "1 Donut & A Cappuccino"
                }
              ]
            },
            {
              "id": 152,
              "customer_bill_id": 25612,
              "customer_id": 551,
              "customer_name": "Yash Thakur",
              "phone": "9892228599",
              "tax": "3.07",
              "discount": "0.0",
              "total": "61.43",
              "grand_total": "64.5",
              "mints_earned": 9,
              "status": null,
              "group_share_type_id": 2,
              "group_share_particulars": [
                {
                  "id": 319,
                  "group_share_id": 152,
                  "bill_particular_id": 49102,
                  "quantity": "0.5",
                  "tax": "0.0",
                  "discount": "0.0",
                  "total": "61.43",
                  "grand_total": "0.0",
                  "created_at": "2019-11-12T16:04:44.821+05:30",
                  "updated_at": "2019-11-12T16:04:44.821+05:30",
                  "particular": "1 Donut & A Cappuccino"
                }
              ]
            }
          ],
          "shared": true,
          "bill_date": "October 21",
          "client_type": 1,
          "currency": "INR",
          "currency_rate": null,
          "twitter_handle": null,
          "accent": "f68b33",
          "card_background": {
            "url": null,
            "web": {
              "url": null
            },
            "app": {
              "url": null
            }
          },
          "client_address": "Mad Over Donuts, Unit no. 3, 4 & 5, 4th floor, Aman Chambers, Opera House, charni road",
          "bill_number": null,
          "razorpay_payment_id": null,
          "razorpay_invoice_id": null,
          "razorpay_order_id": null
        },
        {
          "id": 25611,
          "total_amount": "129.0",
          "discount": "0.0",
          "tax": "6.14",
          "created_at": "2019-10-21T18:14:51.422+05:30",
          "is_edison_bill": false,
          "snippet": "1 Donut & A Cappuccino",
          "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/307/main_file.png",
          "client_name": "Mad Over Donuts, charni road",
          "username": "",
          "personal": true,
          "category": "F&B",
          "mints_earned": 140,
          "group_shares": [
            {
              "id": 147,
              "customer_bill_id": 25611,
              "customer_id": 651,
              "customer_name": "",
              "phone": "9766329918",
              "tax": "3.07",
              "discount": "0.0",
              "total": "61.43",
              "grand_total": "64.5",
              "mints_earned": 6,
              "status": null,
              "group_share_type_id": 1,
              "group_share_particulars": [
                {
                  "id": 314,
                  "group_share_id": 147,
                  "bill_particular_id": 49101,
                  "quantity": "0.5",
                  "tax": "3.07",
                  "discount": "0.0",
                  "total": "61.43",
                  "grand_total": "0.0",
                  "created_at": "2019-11-04T17:15:31.845+05:30",
                  "updated_at": "2019-11-04T17:15:31.845+05:30",
                  "particular": "1 Donut & A Cappuccino"
                }
              ]
            },
            {
              "id": 148,
              "customer_bill_id": 25611,
              "customer_id": 551,
              "customer_name": "Yash Thakur",
              "phone": "9892228599",
              "tax": "3.07",
              "discount": "0.0",
              "total": "61.43",
              "grand_total": "64.5",
              "mints_earned": 9,
              "status": null,
              "group_share_type_id": 1,
              "group_share_particulars": [
                {
                  "id": 315,
                  "group_share_id": 148,
                  "bill_particular_id": 49101,
                  "quantity": "0.5",
                  "tax": "3.07",
                  "discount": "0.0",
                  "total": "61.43",
                  "grand_total": "0.0",
                  "created_at": "2019-11-04T17:15:31.903+05:30",
                  "updated_at": "2019-11-04T17:15:31.903+05:30",
                  "particular": "1 Donut & A Cappuccino"
                }
              ]
            }
          ],
          "shared": true,
          "bill_date": "October 21",
          "client_type": 1,
          "currency": "INR",
          "currency_rate": null,
          "twitter_handle": null,
          "accent": "f68b33",
          "card_background": {
            "url": null,
            "web": {
              "url": null
            },
            "app": {
              "url": null
            }
          },
          "client_address": "Mad Over Donuts, Unit no. 3, 4 & 5, 4th floor, Aman Chambers, Opera House, charni road",
          "bill_number": null,
          "razorpay_payment_id": null,
          "razorpay_invoice_id": null,
          "razorpay_order_id": null
        },
        {
          "id": 25599,
          "total_amount": "452.0",
          "discount": "56.19",
          "tax": "21.54",
          "created_at": "2019-10-18T17:54:40.959+05:30",
          "is_edison_bill": false,
          "snippet": "Coco Loco, +5 more",
          "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/307/main_file.png",
          "client_name": "Mad Over Donuts, charni road",
          "username": "",
          "personal": true,
          "category": "F&B",
          "mints_earned": 460,
          "group_shares": [],
          "shared": false,
          "bill_date": "October 18",
          "client_type": 1,
          "currency": "INR",
          "currency_rate": null,
          "twitter_handle": null,
          "accent": "f68b33",
          "card_background": {
            "url": null,
            "web": {
              "url": null
            },
            "app": {
              "url": null
            }
          },
          "client_address": "Mad Over Donuts, Unit no. 3, 4 & 5, 4th floor, Aman Chambers, Opera House, charni road",
          "bill_number": null,
          "razorpay_payment_id": null,
          "razorpay_invoice_id": null,
          "razorpay_order_id": null
        },
        {
          "id": 25595,
          "total_amount": "89.6",
          "discount": "0.0",
          "tax": "9.6",
          "created_at": "2019-10-16T19:59:31.430+05:30",
          "is_edison_bill": false,
          "snippet": "Cookie Cream",
          "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/307/main_file.png",
          "client_name": "Mad Over Donuts, charni road",
          "username": "",
          "personal": true,
          "category": "F&B",
          "mints_earned": 90,
          "group_shares": [],
          "shared": false,
          "bill_date": "October 16",
          "client_type": 1,
          "currency": "INR",
          "currency_rate": null,
          "twitter_handle": null,
          "accent": "f68b33",
          "card_background": {
            "url": null,
            "web": {
              "url": null
            },
            "app": {
              "url": null
            }
          },
          "client_address": "Mad Over Donuts, Unit no. 3, 4 & 5, 4th floor, Aman Chambers, Opera House, charni road",
          "bill_number": null,
          "razorpay_payment_id": null,
          "razorpay_invoice_id": null,
          "razorpay_order_id": null
        }
      ],
      "ads": [],
      "current_mints": 170,
      "total_mints_to_next": null,
      "gradient_dark": "#f4750c",
      "gradient_light": "#f8a15a",
      "client_type": 1,
      "twitter_handle": null
    }
  }
}

Last updated