Search

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 nameDescriptionPossible valueRequired
giftCardIDID of gift cardInteger
changedSinceRetrieve 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)
recordsOnPageNumber of records API should return. By default 20, at most 100.Integer
pageNoAPI 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 nameTypeDescription
giftCardIDIntegerID of gift card
redeemedDecimal
remainingBalanceDecimalRemaining balance
invoiceIDIntegerInvoice ID
invoiceNoStringInvoice number
paymentIDIntegerPayment ID
customerIDIntegerCustomer ID
warehouseIDIntegerWarehouse ID
warehouseCodeStringWarehouse code
pointOfSaleIDIntegerPoint of sale ID
employeeIDIntegerEmployee ID
dateTimeISO datetime (yyyy-mm-dd hh:mm:ss)