List All GiftCards

This Endpoint retrieves a list of all the GiftCards bought by a business.

Endpoint

{{baseurl}}/giftcards

This is a GET request and takes a couple of query parameters:

FieldData TypeDescription
businessIdStringRequired. Unique identifier for a business associated with a card.
customerIdStringUnique identifier of the customer account of the logged in user.

This is what a successful request will look like:

{
  "success": true,
  "statusCode": 201,
  "message": "Giftcard order in progress",
  "data": {}
}