Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

Giftcard

Giftcard

Get Giftcard details

get

Get details for a giftcard

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
giftcardNumberstringRequired

Reference to a giftcard number.

Query parameters
extensionCodestring · enumOptional

Reference to an extension

Possible values:
Responses
200
Example response
application/json
get
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-06-24T20:11:57.728Z",
  "brandId": 1,
  "brandName": "text",
  "note": "text"
}

Update giftcard details

put

Change expiry date or active status.

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[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
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-06-24T20:11:57.728Z",
  "active": true,
  "note": "text",
  "extensionCode": "FLOWGIFTCARD"
}
200

Example response

{
  "active": true,
  "balance": 1,
  "cardId": 1,
  "cardNumber": "text",
  "validTo": "2025-06-24T20:11:57.728Z",
  "brandId": 1,
  "brandName": "text",
  "note": "text"
}

Was this helpful?