v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Passes > Pass Images

Create Update Pass Images Type Resolution

Create or Update Image of Pass of Type and Resolution

Create or update an image associated with a specific pass, identified by type and resolution.

Parameters:

  • type: Type of the image (e.g., logo, background).
  • resolution: Resolution of the image (e.g., normal, high).
  • image: Image file to be uploaded.
  • lpass: Pass object, automatically resolved from the request.
  • user: User object, automatically resolved from the request.

Returns:

  • JSONResponse: A response with the image details or an error message.
post/v2/passes/{passTypeIdentifier}/{serialNumber}/images/{type}/{resolution}

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

resolution'normal' | 'high' | 'ultra' required
passTypeIdentifierstring nullable required
serialNumberstring nullable required

Query parameters

passIdstring
Example:5eb7cf5a86d9755df3a6c593

Headers

authorizationstring nullable

Response

Successful Response

{"stackTrail":"paths:/v2/passes/{passTypeIdentifier}/{serialNumber}/images/{type}/{resolution}:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}