---
title: "Close origin request"
method: PUT
path: "/public/v2/eudr/customers/origin-requests/{originRequestId}/close"
tags: ["EUDR - Customers - Origin Requests"]
---

# Close origin request

`PUT /public/v2/eudr/customers/origin-requests/{originRequestId}/close`

## Request

- Base URL: `https://api.prewave.com`
- URL: `https://api.prewave.com/public/v2/eudr/customers/origin-requests/{originRequestId}/close`
- Auth: API key in header `X-Auth-Token`
- TypeScript: <https://skmtc.dev/prewave/apis/public-prewave-api/docs/public/v2/eudr/customers/origin-requests/:originRequestId/close/put.ts> (a function with typed inputs; its response is checked against the schema)

The request can be closed only if it is in `Requested` or `Delayed` status.
Closing the request prevents any further updates or actions on it.
Once closed, the request status is set to `Answered` or `Canceled`:
- **Answered** — at least one origin has been provided for the request.
- **Canceled** — no origins have been provided for the request.


**Required permission:** `access_public_products`

## Path parameters

- `originRequestId` integer, required

## Response `200`

Origin request closed successfully.

## Other responses

- `400`: Origin request has already been answered or cancelled.
- `403`: 403 Forbidden - Authentication or authorization failure. This status code is returned when: (1) the request lacks valid authentication credentials (missing or invalid X-Auth-Token header), or (2) the authenticated user does not have the required permission to access this resource.
- `404`: Origin request not found.
- `429`: 429 Too Many Requests - API rate limit exceeded. The request has been rejected because the rate limit for this endpoint has been exceeded. Default rate limits: GET requests - 100 per 10 seconds, 500 per minute; POST/PUT/PATCH/DELETE requests - 20 per 10 seconds, 100 per minute. For increased access, please contact customer success.
- `500`: 500 Internal Server Error - An unexpected error occurred on the server. The request may or may not have been processed.

---

[API](https://skmtc.dev/prewave/apis/public-prewave-api.md) - [All operations](https://skmtc.dev/prewave/apis/public-prewave-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prewave/apis/public-prewave-api/revisions/8b6e3b3827ca?raw)
