Bill Review
Get Cakes
POST
https://staging.billeasy.in/api/customers/bills/{bill-id}/review
This endpoint allows you to get free cakes.
Path Parameters
Name
Type
Description
bill-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.
Request:
{"rating":5,"rating_ignore":false,"review":"Good","review_ignore":false}
Response:
{
"success": true,
"msg": "Review submit",
"data": {
"id": "25779",
"type": "customer_bills",
"attributes": {
"client_id": 8,
"store_id": 7,
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/8/main_file.png",
"client_name": "Mc Donalds",
"client_address": "Mc Donalds, Anupam Chitra Mandir Pahadi Eksar, Station Road, near Bus Station, Goregaon East",
"snippet": "Maharaja Mc Burger",
"bill_datetime": "November 26, 04:01 PM",
"discount_percentage": "0.0",
"discount_amount": "0.0",
"total_amount": "135.0",
"tax_percentage": "17.78",
"grand_total": "159.0",
"barcode_uid": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/customer_bill/barcode/25779/app_bill_25779_barcode.png",
"original_bill_url": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/original_bill/bill/47441/recentBill_copy.pdf",
"personal": true,
"surveys": [],
"shared": false,
"group_shares": [],
"sift_id": null,
"five_asec_payment_status": null,
"five_asec_delivery_status": null,
"five_asec_delivery_date": null,
"currency": "INR",
"currency_rate": null,
"twitter_handle": null,
"currency_symbol": null,
"grand_total_original": null,
"is_verification_enabled": false,
"verified": false,
"created_at": "2019-11-26T16:01:01.064+05:30",
"updated_at": "2019-11-26T16:01:01.342+05:30",
"accent": "fcb827",
"card_background": {
"url": null,
"web": {
"url": null
},
"app": {
"url": null
}
},
"bill_number": null,
"razorpay_payment_id": null,
"razorpay_invoice_id": null,
"razorpay_order_id": null,
"payment_status": "paid",
"razorpay_subscription_id": null,
"razorpay_client_id": null,
"card_id": 518
},
"relationships": {
"bill_particulars": {
"data": [
{
"id": "49339",
"type": "bill_particulars"
}
]
},
"customer_bill_rating": {
"data": {
"id": 415,
"rating": "5.0",
"client_id": 8,
"customer_bill_id": 25779,
"client_bill_id": 25530,
"review_id": 12,
"ignore": false,
"created_at": "2019-12-16T12:14:15.536+05:30",
"updated_at": "2019-12-16T12:14:15.536+05:30",
"rating_id": null
}
},
"customer_bill_review": {
"data": {
"id": 415,
"value": "Good",
"client_id": 8,
"customer_bill_id": 25779,
"client_bill_id": 25530,
"review_id": 12,
"ignore": false,
"created_at": "2019-12-16T12:14:15.522+05:30",
"updated_at": "2019-12-16T12:14:15.522+05:30"
}
}
}
},
"included": [
{
"id": "49339",
"type": "bill_particulars",
"attributes": {
"article_name": "Maharaja Mc Burger",
"article_price": "135.0",
"article_quantity": 1
}
}
]
}
{
"success": false,
"msg": "Error msg",
"data": {}
}
Last updated