---
title: "Deal with an order close request"
method: POST
path: "/orders/{order_id}/close-request"
tags: ["Orders"]
---

# Deal with an order close request

`POST /orders/{order_id}/close-request`

Handle an order close request.

1. Set the order status to 'close_in_progress'.
2. Set the 'close_request_at' timestamp in the order's metadata.
3. Publish an SNS message that the order status has changed to 'close_in_progress'.

The current subscribers to this topic are the retrieval project close worker and the delivery order status updated worker.

## Path parameters

- `order_id` string, required

## Headers

- `version-datavant` string — Version of the Orders API to use with this call

## Response `204`

Successful Response

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/datavant/apis/datavant-rest-api.md) · [All operations](https://skmtc.net/datavant/apis/datavant-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datavant/datavant-rest-api/revisions/f39a4bfeca8e/schema)
