getGiftCardRedeemings

Return an array of gift card redeemings.

This API call returns error 1006 if "Gift card extras" module is not enabled on this account.

Input parameters

Parameter name Description Possible value Required
giftCardID ID of gift card Integer
changedSince Retrieve only items that have been added or modified since the specified timestamp. Use it to keep a local database in sync with Erply. Integer (Unix timestamp)
recordsOnPage Number of records API should return. By default 20, at most 100. Integer
pageNo API returns at most recordsOnPage items at a time. To retrive the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". Integer

Response

Field name Type Description
giftCardID Integer ID of gift card
redeemed Decimal
remainingBalance Decimal Remaining balance
invoiceID Integer Invoice ID
invoiceNo String Invoice number
paymentID Integer Payment ID
customerID Integer Customer ID
warehouseID Integer Warehouse ID
warehouseCode String Warehouse code
pointOfSaleID Integer Point of sale ID
employeeID Integer Employee ID
dateTime ISO datetime (yyyy-mm-dd hh:mm:ss)