get https://{booking_server}/partner/plans
This endpoint is an alternative way of obtaining a place's active plans in TotalPass instead of using the Authentication endpoint. However, the partner needs to provide the token to use it, which is generated by the Authentication endpoint.
Unlike the Authentication endpoint, the partner can provide an id
to filter the plans.
The id
parameter can be:
- The plan's code
: previously obtained from the Authentication endpoint's response;
- The plan's externalReference
: this is specifically for internal use, external partners won't have access to this parameter, therefore it shouldn't be openly used.
If no id
is provided, all active plans associated with the place will be returned as a response to this endpoint.