---
title: "Adds bin locations to a warehouse zone."
method: POST
path: "/v2/warehouseassistant/warehouse-zones/add-bin-locations"
tags: ["WarehouseZoneCommand"]
---

# Adds bin locations to a warehouse zone.

`POST /v2/warehouseassistant/warehouse-zones/add-bin-locations`

## Request

- Base URL: `https://scx-sbx.api.jtl-software.com`
- URL: `https://scx-sbx.api.jtl-software.com/v2/warehouseassistant/warehouse-zones/add-bin-locations`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://auth.jtl-cloud.com/oauth2/auth`
    - Token URL: `https://auth.jtl-cloud.com/oauth2/token` scopes: `inventory.write`
  - OAuth 2
    - Client credentials
    - Token URL: `https://auth.jtl-cloud.com/oauth2/token` scopes: `inventory.write`
- TypeScript: <https://skmtc.dev/jtl-software/apis/scx-authentication-api/docs/v2/warehouseassistant/warehouse-zones/add-bin-locations/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

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

## Request body

- JTLWawiWarenlagerverwaltungPublicApiDataTransferObjectsV2WarehouseZoneAddBinLocationsToZoneCommandRequest: Adds bin locations to a warehouse zone. - Request
  - `zoneId` string, uuid
  - `binLocationIds` JTLDataContractsKeysWarenLagerPlatzKey[]: Bin locations to add to the zone.

## Response `200`

Bin locations were successfully added to the zone.

## Other responses

- `500`: Internal server error.

---

[API](https://skmtc.dev/jtl-software/apis/scx-authentication-api.md) - [All operations](https://skmtc.dev/jtl-software/apis/scx-authentication-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jtl-software/apis/scx-authentication-api/revisions/f979b1ea6951?raw)
