Giftcard
Giftcard
Get details for a giftcard
Authorizations
AuthorizationstringRequired
Accesstoken recevied after user login with a deviceToken
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
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
{
"active": true,
"balance": 1,
"cardId": 1,
"cardNumber": "text",
"validTo": "2025-12-06T09:09:50.146Z",
"brandId": 1,
"brandName": "text",
"note": "text"
}Change expiry date or active status.
Authorizations
AuthorizationstringRequired
Accesstoken recevied after user login with a deviceToken
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
activebooleanOptional
notestringOptional
extensionCodestring · enumOptionalPossible values:
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: 97
{
"validTo": "2025-12-06T09:09:50.146Z",
"active": true,
"note": "text",
"extensionCode": "FLOWGIFTCARD"
}200
Example response
{
"active": true,
"balance": 1,
"cardId": 1,
"cardNumber": "text",
"validTo": "2025-12-06T09:09:50.146Z",
"brandId": 1,
"brandName": "text",
"note": "text"
}Last updated
Was this helpful?

