---
title: "Sets the maximum stock quantity for the specified marketplace offers."
method: POST
path: "/v2/Marketplace/Offers/SetOfferMaxQuantity"
tags: ["OffersCommand"]
---

# Sets the maximum stock quantity for the specified marketplace offers.

`POST /v2/Marketplace/Offers/SetOfferMaxQuantity`

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Request body

- JTLWawiMarketplaceScxPublicApiDataTransferObjectsV2OffersSetMarketplaceOfferMaxQuantityCommandRequest — Sets the maximum stock quantity for the specified marketplace offers. - Request
  - `offerKeys` JTLWawiMarktplatzScxTypesKeysScxOfferKey[] — Marketplace offer keys to update.
  - `maxQuantity` number — Maximum stock quantity to set for each specified marketplace offer.

## Response `200`

Successfully updated maximum stock quantity for the specified marketplace offers.

## Other responses

- `500` — Internal server error.

---

[API](https://skmtc.net/jtl-software/apis/scx-authentication-api.md) · [All operations](https://skmtc.net/jtl-software/apis/scx-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jtl-software/scx-authentication-api/revisions/f979b1ea6951/schema)
