---
title: "Sets the state of all offers with a specific orderId across all users"
method: POST
path: "/v1/users/set-order-state-by-order-id"
tags: ["users"]
---

# Sets the state of all offers with a specific orderId across all users

`POST /v1/users/set-order-state-by-order-id`

## Request

- Base URL: `https://api.memberspot.de` (the document declares no server; this is the origin it was published from)
- URL: `https://api.memberspot.de/v1/users/set-order-state-by-order-id`
- Auth: API key in header `X-API-KEY`

## Request body

- SetOrderStateByOrderIdDto
  - `orderId` string, required
  - `active` boolean

## Response `201`

Operation successfully finished

- SetOrderStateByOrderIdDto
  - `orderId` string, required
  - `active` boolean

## Other responses

- `400`: Missing arguments (check your api key)
- `401`: Api key provided but invalid

---

[API](https://skmtc.dev/memberspot/apis/memberspot-api.md) · [All operations](https://skmtc.dev/memberspot/apis/memberspot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/memberspot/apis/memberspot-api/revisions/48a9411d4339?raw)
