> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bin move

> Bin move

> [!WARNING]
>
> **Confirm your deployment before running this request.** This page describes an API contract;
> a published reference does not establish hosted availability. Check the dated
> [host report](https://docs.stateset.com/api-reference/hosts.md) and obtain your deployment URL and credentials.
> Replace the example host if your provisioned service uses a different URL.

### Request body

`MoveBetweenBinsRequest`

**from\_bin\_id** `integer (int32)` *required*

**performed\_by** `string,null`

**quantity** `string` *required*

Decimal quantity as a string.

**reason** `string,null`

**sku** `string` *required*

**to\_bin\_id** `integer (int32)` *required*

### Response

`BinMovementResponse`

**created\_at** `string` *required*

**from\_bin\_id** `integer,null (int32)`

**id** `string` *required*

**movement\_type** `string` *required*

**performed\_by** `string,null`

**quantity** `string` *required*

**reason** `string,null`

**sku** `string` *required*

**to\_bin\_id** `integer,null (int32)`

### Status codes

| Code | Meaning |
| - | - |
| `200` | — |
| `400` | — |
| `404` | — |

### Using this contract

Read the [source OpenAPI document](https://docs.stateset.com/spec/stateset-icommerce.json) for declared schemas and alternatives.
This page also includes documented corrections from the [spec overlays](https://github.com/stateset/docs/tree/main/spec/overlays).
Example IDs and values are illustrative; replace them with records from your workspace.

```bash cURL theme={null}
curl --silent --show-error --fail-with-body --request POST \
  --url 'https://api.stateset.com/api/v1/warehouse-bins/move' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "from_bin_id": 1001,
  "performed_by": "string",
  "quantity": "2",
  "reason": "Two-person tent, green — replacement for damaged pole set.",
  "sku": "SKU-TENT-2P-GRN",
  "to_bin_id": 1001
}'
```

```json 200 theme={null}
{
  "created_at": "2026-08-31T14:22:05Z",
  "from_bin_id": 1001,
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "movement_type": "string",
  "performed_by": "string",
  "quantity": "2",
  "reason": "Two-person tent, green — replacement for damaged pole set.",
  "sku": "SKU-TENT-2P-GRN",
  "to_bin_id": 1001
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.