# Checkout options

The endpoint identifies potential fulfillment locations and the fulfillment options available at each location (facility). This allows the shop to offer more detailed information about the upcoming fulfillment and provide additional services during the checkout process, such as specific carriers and delivery options.

At this stage, the specific facility or facilities that will ultimately be chosen for fulfillment are not determined, as this call only performs a partial routing without evaluating or ranking the facilities.

{% hint style="info" %}
More API information can be found here: [REST API documentation – Checkout Options](https://fulfillmenttools.github.io/fulfillmenttools-api-reference-ui/#post-/api/promises/checkoutoptions/collect/earliest)
{% endhint %}

## Request and response <a href="#what-is-the-purpose-of-this-endpoint" id="what-is-the-purpose-of-this-endpoint"></a>

### Request

When querying "checkout options" a routing decision is made based on the [fences](https://docs.fulfillmenttools.com/documentation/by-pillar/advanced-order-routing/fences) that are configured in the [routing strategy](https://docs.fulfillmenttools.com/documentation/by-pillar/advanced-order-routing/routing-strategy).

The request is similar to the final order that would be submitted into the system but less information is mandatory.

### Response

The response includes all information on possible locations that have stock of at least one of the ordered items and have not been filtered out by [fences](https://docs.fulfillmenttools.com/documentation/by-pillar/advanced-order-routing/fences).

The response contains the following information:

* Facility data
  * General Information on the facility
  * Picking times and capacities (only for click & collect requests)
* Stock information
  * stock available within the facility (for ordered items)
* Carrier information
  * Active carriers
  * Available carrier products
  * Carrier costs
  * Carrier delivery times


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fulfillmenttools.com/documentation/by-pillar/availability-and-promising/checkout-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
