Giftcard

Giftcard

Get Giftcard details

get
/tenants/{tenantUid}/stores/{storeUid}/giftcards/{giftcardNumber}

Get details for a giftcard

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

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:
cvcstringOptional

Reference to a giftcard CVC number.

Responses
200

Example response

application/json
get
/tenants/{tenantUid}/stores/{storeUid}/giftcards/{giftcardNumber}
200

Example response

Update giftcard details

put
/tenants/{tenantUid}/stores/{storeUid}/giftcards/{giftcardNumber}

Change expiry date or active status.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

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
activebooleanOptionalDeprecated
notestringOptional
extensionCodestring · enumOptionalPossible values:
statusstring · enumOptional

CLEARED means the card balance is emptied, the card is deactivated and can not be used anymore.

Possible values:
Responses
200

Example response

application/json
put
/tenants/{tenantUid}/stores/{storeUid}/giftcards/{giftcardNumber}
200

Example response

Last updated