GET
/api/v1/customer/receipts/{id}
This API method will grab specific receipts if available.
Sample Request body
Nothing required
Sample Response
{
"status": true,
"item": {
"id": "AxyQPkGvEjWVeWla8OXV",
"customer_id": "LZWBJx0PmYkEwjGdr2vO",
"location_id": "ORwdvb48EQZeJXLBq7nQ",
"register_number": 2,
"cashier_number": "333",
"cashier_name": "Steve",
"receipt_number": 115,
"sale_total": "0.96",
"sale_timestamp": "2018-10-09 10:56:40",
"cash_tendered": 1,
"customer": {
"id": "LZWBJx0PmYkEwjGdr2vO",
"first_name": "Justin",
"last_name": "Smith",
"email": "[email protected]",
"date_of_birth": "2017-09-13"
},
"store_image": "http:\/\/staging.goftx.com\/stores\/34\/chain-logo",
"store_name": "Bobs Eatery"
}
}{
"status": false,
"message": "This receipt does not exist on your account"
}