# API public endpoints

The typical workflow to order tickets using our API is to:&#x20;

1. choose an event\_id from the list of available events
2. choose the ticket type (aka discount\_id)
3. create a cart resource and use the supplied cart\_id to
4. interact with the cart (add/delete seats)
5. determine what payment method is going to be used
6. create the order and redirect the user to the URL provided

With the following endpoints you can achieve all of the above (and some more):

{% content-ref url="public-endpoints/api-public" %}
[api-public](https://docs.voordemensen.nl/api/public-endpoints/api-public)
{% endcontent-ref %}

{% content-ref url="public-endpoints/tickettypes" %}
[tickettypes](https://docs.voordemensen.nl/api/public-endpoints/tickettypes)
{% endcontent-ref %}

{% content-ref url="public-endpoints/cart" %}
[cart](https://docs.voordemensen.nl/api/public-endpoints/cart)
{% endcontent-ref %}

{% content-ref url="public-endpoints/payment-methods" %}
[payment-methods](https://docs.voordemensen.nl/api/public-endpoints/payment-methods)
{% endcontent-ref %}

{% content-ref url="public-endpoints/order" %}
[order](https://docs.voordemensen.nl/api/public-endpoints/order)
{% endcontent-ref %}
