Skip to main content

Update pass (partial update)

PATCH 

/pass-srv/pass/:passId

Performs a partial update of a pass. Only provided fields will be updated.

Important constraints:

  • passId and productInstanceId cannot be changed
  • validTo must be after validFrom if both are provided
  • The combination of productId and productInstanceId must be unique (error code: PASS1016 if duplicate)
  • Pass addons are appended to existing addons
  • If passUserHolder.sub is provided, it must exist in the Cidaas user system (error code: PASS1005 if not found)

Error Codes:

  • PASS1005: No user with provided sub exists
  • PASS1016: Pass with productId + productInstanceId already exists
  • PASS1002: Missing required payload fields

Request

Responses

Pass partially updated successfully