# Files

The Files resource in the Digital River API provides a secure and organized way to manage and access various documents and records associated with order management. This resource facilitates the uploading and storing of files, such as customer tax certificates and invoices, ensuring they are readily available for retrieval and review. By leveraging the Files resource, you can efficiently handle documentation critical to transaction processing and compliance within the Digital River ecosystem. See [File basics](/digital-river-api-reference/2021-12-13/files/file-basics.md) for more information.

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/files" 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="/files/iNzDkkGaCIlZVrD9ZEeL" path="/files" 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="/files/iNzDkkGaCIlZVrD9ZEeL" path="/files/{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="/files/iNzDkkGaCIlZVrD9ZEeL" path="/files/{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="/files/iNzDkkGaCIlZVrD9ZEeL" path="/files/{id}/content" 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 %}


---

# 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/files.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.
