api/v1/customer/receipts/{id}/hide

GET

/api/v1/customer/receipts/{id}/hide

This API method will hide a specific receipt from the logged in customer's list.

Sample Request body

Nothing required

Sample Response

{
  "status": true,
  "message": "Successfully hid the receipt"
}
{
  "status": false,
  "message": "This receipt does not exist in the system"
}
{
  "status": false,
  "message": "You cannot hide a receipt that is not yours"
}
{
  "status": false,
  "message": "This receipt is already hidden"
}
{
  "status": false,
  "message": "Failed to mark receipt as hidden. General Error"
}