Skip to content

Warehouse settings ​

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.

GET /warehouse-settings/get ​

Get the tenant's warehouse settings (created with defaults on first access).

Request body

No request body.

Response

FieldTypeDescription
_idstring
account_idstring
direct_transferboolean
direct_acceptanceboolean
create_product_with_stockboolean
show_sale_price_in_transfersboolean
json
{
  "code": 0,
  "message": "Success",
  "status_code": 200,
  "data": {
    "_id": "string",
    "account_id": "string",
    "direct_transfer": false,
    "direct_acceptance": false,
    "create_product_with_stock": false,
    "show_sale_price_in_transfers": false
  },
  "time": "2025-05-01T12:00:00Z"
}

PUT /warehouse-settings/set ​

Update the tenant's warehouse settings (partial patch).

Request body

FieldTypeRequiredDescription
direct_transferbooleanNoAuto-accept internal transfers without a separate acceptance step
direct_acceptancebooleanNoAuto-accept incoming stock on receipt
create_product_with_stockbooleanNoAllow creating a product together with an initial stock quantity
show_sale_price_in_transfersbooleanNoShow sale price on transfer documents
json
{
  "direct_transfer": false,
  "direct_acceptance": false,
  "create_product_with_stock": false,
  "show_sale_price_in_transfers": false
}

Response

Same response shape as GET /warehouse-settings/get.


This page is generated from the OpenAPI spec.

Bito 2.0 Integration API