v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Loyalty

Update Loyalty Program Voucher Card

Update Voucher Card

Updates the card details of a specific voucher within a loyalty program.

  • Path Parameters:

    • programId: UUID of the loyalty program
    • voucherId: UUID of the voucher
  • Request Body:

    • data: JSON object containing the new card data.
  • Returns:

    • Updated card details as a JSON object.
put/v2/loyalty/programs/{programId}/vouchers/{voucherId}/card

Path parameters

string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593
string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593

Headers

authorizationstring nullable

Request body

descriptionstring nullable
suppressStripShineboolean nullable
appLaunchURLstring nullable
associatedAppsobject[]
associatedStoreIdentifiersinteger[]
associatedPlayIdentifiersstring[]
labelColorstring nullable
backgroundColorstring nullable
foregroundColorstring nullable
logoTextstring nullable
relevantDatestring date-time nullable
expirationDatestring date-time nullable
voidedboolean nullable
userInfoobject nullable

Response

Successful Response

{"stackTrail":"paths:/v2/loyalty/programs/{programId}/vouchers/{voucherId}/card:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}