Giftcard
Giftcard
Get details for a giftcard
Authorizations
Path parameters
tenantUidstringRequiredPattern:
Reference to a tenant.
^[A-Za-z0-9-_]+storeUidstringRequiredPattern:
Reference to a Store.
^[A-Za-z0-9-_]+giftcardNumberstringRequired
Reference to a giftcard number.
Query parameters
extensionCodestring · enumOptionalPossible values:
Reference to an extension
cvcstringOptional
Reference to a giftcard CVC number.
Responses
200
Example response
application/json
get
/tenants/{tenantUid}/stores/{storeUid}/giftcards/{giftcardNumber}GET /v2/tenants/{tenantUid}/stores/{storeUid}/giftcards/{giftcardNumber} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
Example response
{
"balance": 1,
"cardId": 1,
"cardNumber": "text",
"validTo": "2025-10-30T21:24:19.803Z",
"brandId": 1,
"brandName": "text",
"issuerName": "text",
"note": "text",
"status": "ACTIVE",
"cvcRequired": true,
"legacyCardNumber": "text"
}Change expiry date or active status.
Authorizations
Path parameters
tenantUidstringRequiredPattern:
Reference to a tenant.
^[A-Za-z0-9-_]+storeUidstringRequiredPattern:
Reference to a Store.
^[A-Za-z0-9-_]+giftcardNumberstringRequired
Reference to a giftcard number.
Body
validTostring · date-timeOptional
activebooleanOptionalDeprecated
notestringOptional
extensionCodestring · enumOptionalPossible values:
statusstring · enumOptionalPossible values:
CLEARED means the card balance is emptied, the card is deactivated and can not be used anymore.
Responses
200
Example response
application/json
put
/tenants/{tenantUid}/stores/{storeUid}/giftcards/{giftcardNumber}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": "2025-10-30T21:24:19.803Z",
"note": "text",
"extensionCode": "FLOWGIFTCARD",
"status": "ACTIVE"
}200
Example response
{
"balance": 1,
"cardId": 1,
"cardNumber": "text",
"validTo": "2025-10-30T21:24:19.803Z",
"brandId": 1,
"brandName": "text",
"issuerName": "text",
"note": "text",
"status": "ACTIVE",
"cvcRequired": true,
"legacyCardNumber": "text"
}Last updated