v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Loyalty

Update Loyalty Program Custom Fields

Update Loyalty Program Custom Fields

Modify or replace the custom fields for a specific loyalty program.

  • customFields: A list of new custom fields to be applied.
  • programId: The unique identifier of the loyalty program.
  • Returns: A list of updated custom fields.
put/v2/loyalty/programs/{programId}/customFields

Path parameters

string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593

Headers

authorizationstring nullable

Request body

namestring required
type'text' | 'email' | 'number' | 'date' | 'selection' | 'json'
displayNamestring nullable
defaultValuestring nullable
pointsinteger nullable
optionsstring nullable
requiredboolean nullable

Response

Successful Response

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