Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056895Retail ModulesGift cards and gift voucherspublic2024-10-24 18:192024-10-25 14:22
sofidossant 
guilleaer 
normalminoralways
newopen 
5
pi 
 
No
0056895: ERROR API Consume Gift cards
Any error in the api
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/ws/org.openbravo.retail.api.giftcards.ImportService/ConsumeGiftCard [^]
We have this response:
    “data": {
        “errors": [
            {
                “status": 200,
                “title": ‘Error consuming gift card’.
            }
        ]
    },
    “links": null
}

Relation with issue
https://issues.openbravo.com/view.php?id=56346 [^]
I try to consume one gift card that don't exits:
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/ws/org.openbravo.retail.api.giftcards.ImportService/ConsumeGiftCard [^] [^]

{
  "client": "The White Valley Group",
  "organization": "The White Valley Group",
  "giftCardIdentifier": "TEST-SOFISSA",
  "amount": 40,
}

Response

{
    "data": {
        "id": "9BF85FA64B114A16A9C1185D0E3BF9EE",
        "amount": 40,
        "gcnvGiftcardInst": "E16782A0E46D4BB69131B7B139F3CA70"
    },
    "links": null
}

The answer should be that there is no gift card,
If any field is missing, do not let us know.
No tags attached.
Issue History
2024-10-24 18:19sofidossantNew Issue
2024-10-24 18:19sofidossantAssigned To => Retail
2024-10-24 18:19sofidossantTriggers an Emergency Pack => No
2024-10-25 06:20guillermogilAssigned ToRetail => guilleaer
2024-10-25 14:22PracticsIssue Monitored: Practics

There are no notes attached to this issue.