Giftcard
Giftcard
Get details for a giftcard
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Store.
^[A-Za-z0-9-_]+Reference to a giftcard number.
Reference to an extension
Reference to a giftcard CVC number.
Example response
CLEARED means the card balance is emptied, the card is deactivated and can not be used anymore.
GET /v2/tenants/{tenantUid}/stores/{storeUid}/giftcards/{giftcardNumber} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"balance": 1,
"cardId": 1,
"cardNumber": "text",
"validTo": "2026-01-01T00:00:00.000Z",
"brandId": 1,
"brandName": "text",
"issuerName": "text",
"note": "text",
"status": "ACTIVE",
"cvcRequired": true,
"legacyCardNumber": "text"
}Change expiry date or active status.
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Store.
^[A-Za-z0-9-_]+Reference to a giftcard number.
CLEARED means the card balance is emptied, the card is deactivated and can not be used anymore.
Example response
CLEARED means the card balance is emptied, the card is deactivated and can not be used anymore.
PUT /v2/tenants/{tenantUid}/stores/{storeUid}/giftcards/{giftcardNumber} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 101
{
"validTo": "2026-01-01T00:00:00.000Z",
"note": "text",
"extensionCode": "FLOWGIFTCARD",
"status": "ACTIVE"
}Example response
{
"balance": 1,
"cardId": 1,
"cardNumber": "text",
"validTo": "2026-01-01T00:00:00.000Z",
"brandId": 1,
"brandName": "text",
"issuerName": "text",
"note": "text",
"status": "ACTIVE",
"cvcRequired": true,
"legacyCardNumber": "text"
}Last updated