Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Which field can we use to show a travelpass status after purchase. #731

Open
mvdgraaff opened this issue Oct 16, 2024 · 1 comment
Assignees
Labels
question Further information is requested
Milestone

Comments

@mvdgraaff
Copy link

When a eurail/interrail pass is purchased the retailer might want to know the pass status (activated/blocked/declined). This is part of fullfilment I guess. Which field could we use as Eurail to show this status. The pass status is no correlated when it can be used, customer can activate it within 11 months after purchase, this is done via de Eurail app.

@jspetrak
Copy link
Collaborator

jspetrak commented Oct 16, 2024

PATCH /fulfillments/{id} is here to apply the activation of a day of the pass.

Fulfillment.status indicates overall validity of the pass, e.g. if it was issued (fulfilled), used for the first time (activated), refunded, exchanged, ...

Fulfillment.availableUsage indicates remaining validity of the pass (remaining dates, zones, etc., date range of validity)

If there are any missing information, please, file an issue for that. Passes definitely need more refinement in the API. They haven't been implemented by many parties yet so we collect the experience.

@jspetrak jspetrak moved this to In progress in OSDM Specification Oct 16, 2024
@jspetrak jspetrak added this to the 4.0.0 milestone Oct 16, 2024
@jspetrak jspetrak added the question Further information is requested label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: In progress
Development

No branches or pull requests

2 participants