Organizational transfer
Stock transfers between organizations
INFO
Every response arrives in the shared envelope — code, message, messages, status_code, time — with the payload in data. The tables below describe what is inside data.
POST /organizational-transfer/create
Create a new organizational transfer (cross-organization stock movement) in DRAFT or NEW state.
Required permission: organizational_transfer_create · how permissions work
Example request
curl -X POST 'https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/create' \
-H "api-key: $BITO_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"source_organization_id": "string",
"destination_organization_id": "string",
"state": "draft",
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"sender_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"requests": [
{
"request_id": "string",
"products": []
}
]
}'const res = await fetch('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/create', {
method: 'POST',
headers: { 'api-key': process.env.BITO_API_KEY, 'Content-Type': 'application/json' },
body: JSON.stringify({
"source_organization_id": "string",
"destination_organization_id": "string",
"state": "draft",
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"sender_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"requests": [
{
"request_id": "string",
"products": []
}
]
}),
})
const { code, data } = await res.json()import os
import requests
res = requests.request(
"POST",
"https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/create",
headers={"api-key": os.environ["BITO_API_KEY"]},
json={
"source_organization_id": "string",
"destination_organization_id": "string",
"state": "draft",
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"sender_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"requests": [
{
"request_id": "string",
"products": [],
},
],
},
)
print(res.json())<?php
$body = <<<'JSON'
{
"source_organization_id": "string",
"destination_organization_id": "string",
"state": "draft",
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"sender_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"requests": [
{
"request_id": "string",
"products": []
}
]
}
JSON;
$ch = curl_init('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/create');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['api-key: ' . getenv('BITO_API_KEY'), 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => $body,
CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);Request body
| Field | Type | Required | Description |
|---|---|---|---|
code | string | No | Optional custom transfer code / reference number |
source_organization_id | string | Yes | Sending organization ObjectId |
destination_organization_id | string | Yes | Receiving organization ObjectId |
state | string | Yes | Initial state — draft (held) or new (ready to process). One of: draft, new |
invoice_created | boolean | No | Whether a supplier invoice was created for this transfer. Default: false |
with_price | boolean | No | Whether product prices are included in the transfer. Default: false |
date | string (date-time) | Yes | Transfer document date (ISO 8601) |
shipping_date | string (date-time) | Yes | Expected shipment date (ISO 8601) |
sender_warehouse_id | string | Yes | Source warehouse ObjectId |
sender_employee_id | string | Yes | Employee responsible for sending ObjectId |
reason_id | string | Yes | Transfer reason ObjectId |
price_id | string | No | Price-list ObjectId (optional) |
note | string | No | Optional free-text note (max 500 characters) |
currency | object | No | Currency snapshot at transfer time (optional) |
currency._id | string | Yes | Currency ObjectId |
currency.name | string | Yes | |
currency.value | number | Yes | Exchange rate value |
currency.symbol | string | No | |
currency.side | string | No | One of: start, end |
requests | object[] | Yes | One or more transfer request lines (each may reference a transfer-request document) |
requests[].request_id | string | No | Linked transfer-request ObjectId (optional) |
requests[].products | object[] | Yes | Products included in this request line |
requests[].products[].product_id | string | Yes | Product ObjectId |
requests[].products[].amount | number | Yes | Quantity to transfer (must be positive) |
requests[].products[].price | number | No | Unit price (optional; required when with_price=true) |
requests[].products[].box_count | number | No | Number of boxes (integer ≥ 0). Default: 0 |
requests[].products[].box_item | number | No | Items per box |
requests[].products[].marks | string[] | No | Mark/serial codes for marked goods. Default: [] |
requests[].products[].expiration_date | string (date-time) | No | Expiration date (ISO 8601) for perishable goods |
requests[].products[].extra_costs | object[] | No | Per-product additional costs. Default: [] |
requests[].products[].used_measure | object | No | |
additional_costs | object[] | No | Transfer-level additional costs. Default: [] |
additional_costs[].cost_id | string | Yes | |
additional_costs[].amount | number | Yes | |
additional_costs[].customer_id | string | No | |
additional_costs[].employee_id | string | No | |
additional_costs[].supplier_id | string | No | |
additional_costs[].person_id | string | No | |
attachments | object[] | No | Attached files (documents, scans). Default: [] |
attachments[].name | string | No | |
attachments[].path | string | Yes | |
attachments[].size | number | No | |
attachments[].note | string | No |
{
"code": "string",
"source_organization_id": "string",
"destination_organization_id": "string",
"state": "draft",
"invoice_created": false,
"with_price": false,
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"sender_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"price_id": "string",
"note": "string",
"currency": {
"_id": "string",
"name": "string",
"value": 0,
"symbol": "string",
"side": "start"
},
"requests": [
{
"request_id": "string",
"products": []
}
],
"additional_costs": [
{
"cost_id": "string",
"amount": 0,
"customer_id": "64b7f4d9e2b3b6a0b7c5d7ff",
"employee_id": "64b7f4d9e2b3b6a0b7c5d7ff",
"supplier_id": "64b7f4d9e2b3b6a0b7c5d7ff",
"person_id": "64b7f4d9e2b3b6a0b7c5d7ff"
}
],
"attachments": [
{
"name": "string",
"path": "string",
"size": 0,
"note": "string"
}
]
}Response
{
"code": 0,
"message": "Success",
"status_code": 200,
"data": "string",
"time": "2025-05-01T12:00:00Z"
}GET /organizational-transfer/get-by-id/{id}
Fetch a single organizational transfer by ObjectId (aggregated detail view with products and requests).
Required permission: organizational_transfer · how permissions work
Example request
curl -X GET 'https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/get-by-id/6712f0a9c4d1e87b3a0f9911' \
-H "api-key: $BITO_API_KEY"const res = await fetch('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/get-by-id/6712f0a9c4d1e87b3a0f9911', {
method: 'GET',
headers: { 'api-key': process.env.BITO_API_KEY },
})
const { code, data } = await res.json()import os
import requests
res = requests.request(
"GET",
"https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/get-by-id/6712f0a9c4d1e87b3a0f9911",
headers={"api-key": os.environ["BITO_API_KEY"]},
)
print(res.json())<?php
$ch = curl_init('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/get-by-id/6712f0a9c4d1e87b3a0f9911');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['api-key: ' . getenv('BITO_API_KEY')],
CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Organizational transfer ObjectId |
Request body
No request body.
Response
| Field | Type | Description |
|---|---|---|
_id | string | Transfer ObjectId |
number | string | Auto-generated transfer document number |
code | string | Custom reference code |
state | string | One of: draft, new, accepted, in_progress, done, canceled |
type | string | Transfer type (o2o for organizational transfers) |
source_organization_id | string | |
destination_organization_id | string | |
sender_warehouse_id | string | |
receiver_warehouse_id | string | Set after receive; null until received |
sender_employee_id | string | |
reason_id | string | |
price_id | string | |
date | string (date-time) | |
shipping_date | string (date-time) | |
invoice_created | boolean | |
with_price | boolean | |
note | string | |
total_amount | number | Total quantity across all products |
total_cost | number | |
total_price | number | |
total_extra_cost | number | |
requests | object[] | Transfer request lines with their product details |
requests[].request_id | string | |
requests[].products | object[] | |
requests[].products[].product_id | string | |
requests[].products[].amount | number | |
requests[].products[].price | number | |
requests[].products[].box_count | number | |
requests[].products[].marks | string[] | |
requests[].products[].expiration_date | string (date-time) | |
requests[].products[].sender_stock_before | number | Sender warehouse stock before outflow |
requests[].products[].sender_stock_after | number | Derived: sender_stock_before − amount |
requests[].products[].receiver_stock_before | number | Receiver warehouse stock before inflow (set after receive) |
requests[].products[].receiver_stock_after | number | Derived: receiver_stock_before + amount (set after receive) |
additional_costs | object[] | |
attachments | object[] | |
created_at | string (date-time) | |
updated_at | string (date-time) |
{
"code": 0,
"message": "Success",
"status_code": 200,
"data": {
"_id": "string",
"number": "string",
"code": "string",
"state": "draft",
"type": "string",
"source_organization_id": "string",
"destination_organization_id": "string",
"sender_warehouse_id": "string",
"receiver_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"price_id": "string",
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"invoice_created": false,
"with_price": false,
"note": "string",
"total_amount": 0,
"total_cost": 0,
"total_price": 0,
"total_extra_cost": 0,
"requests": [
{
"request_id": "string",
"products": []
}
],
"additional_costs": [
{}
],
"attachments": [
{}
],
"created_at": "2025-05-01T12:00:00Z",
"updated_at": "2025-05-01T12:00:00Z"
},
"time": "2025-05-01T12:00:00Z"
}POST /organizational-transfer/get-paging
Paginated list of organizational transfers, filterable by organization, warehouse, state, and reason.
Required permission: organizational_transfer · how permissions work
Example request
curl -X POST 'https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/get-paging' \
-H "api-key: $BITO_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"page": 1,
"limit": 20
}'const res = await fetch('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/get-paging', {
method: 'POST',
headers: { 'api-key': process.env.BITO_API_KEY, 'Content-Type': 'application/json' },
body: JSON.stringify({
"page": 1,
"limit": 20
}),
})
const { code, data } = await res.json()import os
import requests
res = requests.request(
"POST",
"https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/get-paging",
headers={"api-key": os.environ["BITO_API_KEY"]},
json={
"page": 1,
"limit": 20,
},
)
print(res.json())<?php
$body = <<<'JSON'
{
"page": 1,
"limit": 20
}
JSON;
$ch = curl_init('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/get-paging');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['api-key: ' . getenv('BITO_API_KEY'), 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => $body,
CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);Request body
| Field | Type | Required | Description |
|---|---|---|---|
page | number | Yes | Default: 1 |
limit | number | Yes | Default: 20 |
source_organization_id | string | No | Filter by sending organization ObjectId |
destination_organization_id | string | No | Filter by receiving organization ObjectId |
sender_warehouse_id | string | No | Filter by sender warehouse ObjectId |
receiver_warehouse_id | string | No | Filter by receiver warehouse ObjectId |
states | string[] | No | Filter by one or more transfer states |
reason_id | string | No | Filter by transfer reason ObjectId |
search | string | No | Free-text search. |
updated_at | string (date-time) | No | Only records updated at or after this time. |
date_from | string (date-time) | No | Start of the date range. |
date_to | string (date-time) | No | End of the date range. |
organization_id | string | No | Organization ObjectId. |
{
"page": 1,
"limit": 20,
"source_organization_id": "string",
"destination_organization_id": "string",
"sender_warehouse_id": "string",
"receiver_warehouse_id": "string",
"states": [
"draft"
],
"reason_id": "string",
"search": "string",
"updated_at": "2025-05-01T12:00:00Z",
"date_from": "2025-05-01T12:00:00Z",
"date_to": "2025-05-01T12:00:00Z",
"organization_id": "64b7f4d9e2b3b6a0b7c5d7ff"
}Response
| Field | Type | Description |
|---|---|---|
total | number | |
list | any[] |
{
"code": 0,
"message": "Success",
"status_code": 200,
"data": {
"total": 0,
"list": []
},
"time": "2025-05-01T12:00:00Z"
}PUT /organizational-transfer/update/{id}
Update an existing organizational transfer. Only allowed in DRAFT or NEW state.
Required permission: organizational_transfer_update · how permissions work
Example request
curl -X PUT 'https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/update/6712f0a9c4d1e87b3a0f9911' \
-H "api-key: $BITO_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"source_organization_id": "string",
"destination_organization_id": "string",
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"sender_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"requests": [
{
"request_id": "string",
"products": []
}
]
}'const res = await fetch('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/update/6712f0a9c4d1e87b3a0f9911', {
method: 'PUT',
headers: { 'api-key': process.env.BITO_API_KEY, 'Content-Type': 'application/json' },
body: JSON.stringify({
"source_organization_id": "string",
"destination_organization_id": "string",
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"sender_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"requests": [
{
"request_id": "string",
"products": []
}
]
}),
})
const { code, data } = await res.json()import os
import requests
res = requests.request(
"PUT",
"https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/update/6712f0a9c4d1e87b3a0f9911",
headers={"api-key": os.environ["BITO_API_KEY"]},
json={
"source_organization_id": "string",
"destination_organization_id": "string",
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"sender_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"requests": [
{
"request_id": "string",
"products": [],
},
],
},
)
print(res.json())<?php
$body = <<<'JSON'
{
"source_organization_id": "string",
"destination_organization_id": "string",
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"sender_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"requests": [
{
"request_id": "string",
"products": []
}
]
}
JSON;
$ch = curl_init('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/update/6712f0a9c4d1e87b3a0f9911');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'PUT',
CURLOPT_HTTPHEADER => ['api-key: ' . getenv('BITO_API_KEY'), 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => $body,
CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Organizational transfer ObjectId |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
code | string | No | Optional custom transfer code / reference number |
source_organization_id | string | Yes | Sending organization ObjectId |
destination_organization_id | string | Yes | Receiving organization ObjectId |
invoice_created | boolean | No | Whether a supplier invoice was created for this transfer. Default: false |
with_price | boolean | No | Whether product prices are included in the transfer. Default: false |
date | string (date-time) | Yes | Transfer document date (ISO 8601) |
shipping_date | string (date-time) | Yes | Expected shipment date (ISO 8601) |
sender_warehouse_id | string | Yes | Source warehouse ObjectId |
sender_employee_id | string | Yes | Employee responsible for sending ObjectId |
reason_id | string | Yes | Transfer reason ObjectId |
price_id | string | No | Price-list ObjectId (optional) |
note | string | No | Optional free-text note (max 500 characters) |
currency | object | No | Currency snapshot at transfer time (optional) |
currency._id | string | No | Currency ObjectId |
currency.name | string | Yes | |
currency.value | number | Yes | Exchange rate value |
currency.symbol | string | No | |
requests | object[] | Yes | One or more transfer request lines (each may reference a transfer-request document) |
requests[].request_id | string | No | Linked transfer-request ObjectId (optional) |
requests[].products | object[] | Yes | Products included in this request line |
requests[].products[].product_id | string | Yes | Product ObjectId |
requests[].products[].amount | number | Yes | Quantity to transfer (must be positive) |
requests[].products[].box_count | number | No | Number of boxes (integer ≥ 0). Default: 0 |
requests[].products[].box_item | number | No | Items per box |
requests[].products[].marks | string[] | No | Mark/serial codes for marked goods. Default: [] |
requests[].products[].expiration_date | string (date-time) | No | Expiration date (ISO 8601) for perishable goods |
requests[].products[].extra_costs | object[] | No | Per-product additional costs. Default: [] |
requests[].products[].used_measure | object | No | |
additional_costs | object[] | No | Transfer-level additional costs. Default: [] |
additional_costs[].cost_id | string | Yes | |
additional_costs[].amount | number | Yes | |
additional_costs[].customer_id | string | No | |
additional_costs[].employee_id | string | No | |
additional_costs[].supplier_id | string | No | |
additional_costs[].person_id | string | No | |
attachments | object[] | No | Attached files (documents, scans). Default: [] |
attachments[].name | string | No | |
attachments[].path | string | Yes | |
attachments[].size | number | No | |
attachments[].note | string | No |
{
"code": "string",
"source_organization_id": "string",
"destination_organization_id": "string",
"invoice_created": false,
"with_price": false,
"date": "2025-05-01T12:00:00Z",
"shipping_date": "2025-05-01T12:00:00Z",
"sender_warehouse_id": "string",
"sender_employee_id": "string",
"reason_id": "string",
"price_id": "string",
"note": "string",
"currency": {
"_id": "string",
"name": "string",
"value": 0,
"symbol": "string"
},
"requests": [
{
"request_id": "string",
"products": []
}
],
"additional_costs": [
{
"cost_id": "string",
"amount": 0,
"customer_id": "64b7f4d9e2b3b6a0b7c5d7ff",
"employee_id": "64b7f4d9e2b3b6a0b7c5d7ff",
"supplier_id": "64b7f4d9e2b3b6a0b7c5d7ff",
"person_id": "64b7f4d9e2b3b6a0b7c5d7ff"
}
],
"attachments": [
{
"name": "string",
"path": "string",
"size": 0,
"note": "string"
}
]
}Response
Same response shape as POST /organizational-transfer/create.
PUT /organizational-transfer/set-status/{id}
Transition the transfer through the state machine. Valid transitions: NEW→DRAFT|CANCELED|ACCEPTED; DRAFT→NEW; ACCEPTED→IN_PROGRESS|CANCELED; IN_PROGRESS→CANCELED; DONE→CANCELED. Use receive for the ACCEPTED/IN_PROGRESS→DONE transition.
Required permission: organizational_transfer_update · how permissions work
An app that cancels documents should request organizational_transfer_cancel as well.
Example request
curl -X PUT 'https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/set-status/6712f0a9c4d1e87b3a0f9911' \
-H "api-key: $BITO_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"state": "draft"
}'const res = await fetch('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/set-status/6712f0a9c4d1e87b3a0f9911', {
method: 'PUT',
headers: { 'api-key': process.env.BITO_API_KEY, 'Content-Type': 'application/json' },
body: JSON.stringify({
"state": "draft"
}),
})
const { code, data } = await res.json()import os
import requests
res = requests.request(
"PUT",
"https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/set-status/6712f0a9c4d1e87b3a0f9911",
headers={"api-key": os.environ["BITO_API_KEY"]},
json={
"state": "draft",
},
)
print(res.json())<?php
$body = <<<'JSON'
{
"state": "draft"
}
JSON;
$ch = curl_init('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/set-status/6712f0a9c4d1e87b3a0f9911');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'PUT',
CURLOPT_HTTPHEADER => ['api-key: ' . getenv('BITO_API_KEY'), 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => $body,
CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Organizational transfer ObjectId |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
state | string | Yes | Target state. Valid transitions: NEW→DRAFT|CANCELED|ACCEPTED; DRAFT→NEW; ACCEPTED→IN_PROGRESS|CANCELED; IN_PROGRESS→CANCELED; DONE→CANCELED. Use the receive endpoint to transition to DONE.. One of: draft, new, accepted, in_progress, canceled |
{
"state": "draft"
}Response
Same response shape as POST /organizational-transfer/create.
PUT /organizational-transfer/receive/{id}
Receive an accepted organizational transfer: transitions ACCEPTED or IN_PROGRESS → DONE and applies stock movement into the receiver warehouse.
Required permission: organizational_transfer_update · how permissions work
Example request
curl -X PUT 'https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/receive/6712f0a9c4d1e87b3a0f9911' \
-H "api-key: $BITO_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"receiver_warehouse_id": "string"
}'const res = await fetch('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/receive/6712f0a9c4d1e87b3a0f9911', {
method: 'PUT',
headers: { 'api-key': process.env.BITO_API_KEY, 'Content-Type': 'application/json' },
body: JSON.stringify({
"receiver_warehouse_id": "string"
}),
})
const { code, data } = await res.json()import os
import requests
res = requests.request(
"PUT",
"https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/receive/6712f0a9c4d1e87b3a0f9911",
headers={"api-key": os.environ["BITO_API_KEY"]},
json={
"receiver_warehouse_id": "string",
},
)
print(res.json())<?php
$body = <<<'JSON'
{
"receiver_warehouse_id": "string"
}
JSON;
$ch = curl_init('https://api.bito.uz/integration-api/integration/api/v2/organizational-transfer/receive/6712f0a9c4d1e87b3a0f9911');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'PUT',
CURLOPT_HTTPHEADER => ['api-key: ' . getenv('BITO_API_KEY'), 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => $body,
CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Organizational transfer ObjectId |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
receiver_warehouse_id | string | Yes | Destination warehouse ObjectId where stock will be received |
{
"receiver_warehouse_id": "string"
}Response
Same response shape as POST /organizational-transfer/create.
This page is generated from the OpenAPI spec.