v2
latestOpenAPI 3.1.02026-08-01244220427.0 KBLoyalty
Create Or Update Loyalty Program Offer Card Image
Create or Update Card Offer Image
Updates or creates a new card image for a specific offer within a loyalty program.
-
Path Parameters:
- programId: UUID of the loyalty program
- offerId: UUID of the offer
- type: Type of the card image (e.g., 'thumbnail', 'banner')
-
Request Body:
- image: Image file to be uploaded.
-
Returns:
- Updated or new card image details as a JSON object, or an error message if the image is invalid.
post/v2/loyalty/programs/{programId}/offers/{offerId}/card/images/{type}
Path parameters
type'logo' | 'icon' | 'strip' | 'footer' | 'background' | 'thumbnail' required
Supported images Boarding pass: logo, icon, footer Coupon: logo, icon, strip Event ticket: logo, icon, strip, background, thumbnail If you specify a strip image, do not specify a background image or a thumbnail. Generic: logo, icon, thumbnail Store card: logo, icon, strip
Args: StrEnum (type): description
Example:5eb7cf5a86d9755df3a6c593
Example:5eb7cf5a86d9755df3a6c593
Headers
authorizationstring nullable
Response
Successful Response
{"stackTrail":"paths:/v2/loyalty/programs/{programId}/offers/{offerId}/card/images/{type}:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}