---
title: "Sets the state of an offer with a orderId for a user by email"
method: POST
path: "/v1/users/set-order-state"
tags: ["users"]
---

# Sets the state of an offer with a orderId for a user by email

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

## 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`
- Auth: API key in header `X-API-KEY`

## Request body

- SetOrderStateForUserDto
  - `email` string, email, required
  - `orderId` string, required
  - `active` boolean

## Response `201`

Operation successfully finished

- SetOrderStateForUserDto
  - `email` string, email, required
  - `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)
