# Checkouts

The Checkouts resource in the Digital River API allows businesses to manage the entire checkout process for an end customer. This resource provides functionality to create new checkout sessions, retrieve existing sessions, update session details, and delete checkouts when necessary. Additionally, it supports querying all checkouts to analyze and track transaction data, ensuring a smooth and efficient customer checkout experience. See [Building checkouts](https://app.gitbook.com/s/-LqH4RJfLVLuHPXuJyTZ/integration-options/checkouts/creating-checkouts) for more information.

{% openapi src="<https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e>" path="/checkouts" method="get" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="<https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e>" path="/checkouts" method="post" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="<https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e>" path="/checkouts/{id}" method="get" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="<https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e>" path="/checkouts/{id}" method="post" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="<https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e>" path="/checkouts/{id}" method="delete" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="<https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e>" path="/checkouts/{id}/sources/{sourceId}" method="post" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="<https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e>" path="/checkouts/{id}/sources/{sourceId}" method="delete" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}


---

# 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.digitalriver.com/digital-river-api-reference/2021-12-13/checkouts.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.
