BimpHelp

Warehouses: Bimp API methods

Bimp API methods for the “Warehouses” resource (/org2/warehouse/…): 4 methods. Base URL: https://app.bimpsoft.com. All requests except login pass the company token in the access-token header — see Getting started with the API.

MethodWhat it does
POST /org2/warehouse/api-readListA request to view a list of warehouses
POST /org2/warehouse/api-readA request to obtain detailed information for a particular warehouse
POST /org2/warehouse/api-createA request to create a warehouse
POST /org2/warehouse/api-updateA request to update an existing warehouse

api-readList

POST /org2/warehouse/api-readList

A request to view a list of warehouses

Request body (JSON)

FieldTypeRequiredDescription
paginationobjectyes
pagination.offsetnumberyesBegin from {offset} elements
pagination.countnumberyesLimit of paginated elemets
mainbooleanIf specified, filters warehouses by main flag (true = only main, false = only non-main)

Response: data field

FieldTypeDescription
[].uuidstring (uuid)
[].namestring
[].mainbooleanIndicates whether this warehouse is marked as main
curl -X POST 'https://app.bimpsoft.com/org2/warehouse/api-readList' \
  -H 'access-token: <company token>' \
  -H 'Content-Type: application/json' \
  -d '{"pagination":{"offset":0,"count":10}}'

api-read

POST /org2/warehouse/api-read

A request to obtain detailed information for a particular warehouse

Request body (JSON)

FieldTypeRequiredDescription
uuidstring (uuid)yesA unique uuid key for the warehouse

Response: data field

FieldTypeDescription
uuidstring (uuid)A unique uuid key for the warehouse
namestringWarehouse name
codestringWarehouse code
mainbooleanIndicates whether this warehouse is marked as main
archivedbooleanWhether the warehouse is archived
activebooleanWhether the warehouse is active
publicWarehousebooleanWhether the warehouse is public
predefinedbooleanWhether the warehouse is a system/predefined one
typenumberWarehouse type
commentstringAn optional text field for any additional notes or comments related to the document
addressstringWarehouse address
lineOfBusinessstring (uuid)A unique identifier for the Line of Business, obtainable from the /lineOfBusiness/api-readList request
priceListstring (uuid)A unique identifier for the Price List, obtainable from the /priceList/api-readList request
cashRegisterstring (uuid)The unique identifier for the payment entity type, obtainable from the /bankAccounts/api-readList request OR from /cashRegistry/api-readList request
parentstring (uuid)A unique identifier for the Warehouse, obtainable from the /warehouse/api-readList request
responsiblestring (uuid)A unique identifier for the Employee, obtainable from the /employee/api-readList request
counterpartystring (uuid)A unique identifier for the Counterparty, obtainable from the /counterparty/api-readList request
curl -X POST 'https://app.bimpsoft.com/org2/warehouse/api-read' \
  -H 'access-token: <company token>' \
  -H 'Content-Type: application/json' \
  -d '{"uuid":"00000000-0000-0000-0000-000000000000"}'

api-create

POST /org2/warehouse/api-create

A request to create a warehouse

Request body (JSON)

FieldTypeRequiredDescription
namestringyesWarehouse name
mainbooleanIndicates whether this warehouse is marked as main
archivedbooleanWhether the warehouse is archived
activebooleanWhether the warehouse is active
publicWarehousebooleanWhether the warehouse is public
typenumberWarehouse type
commentstringAn optional text field for any additional notes or comments related to the document
addressstringWarehouse address
lineOfBusinessstring (uuid)A unique identifier for the Line of Business, obtainable from the /lineOfBusiness/api-readList request
priceListstring (uuid)A unique identifier for the Price List, obtainable from the /priceList/api-readList request
cashRegisterstring (uuid)The unique identifier for the payment entity type, obtainable from the /bankAccounts/api-readList request OR from /cashRegistry/api-readList request
parentstring (uuid)A unique identifier for the Warehouse, obtainable from the /warehouse/api-readList request
responsiblestring (uuid)A unique identifier for the Employee, obtainable from the /employee/api-readList request
counterpartystring (uuid)A unique identifier for the Counterparty, obtainable from the /counterparty/api-readList request

Response: data field

FieldTypeDescription
uuidstring (uuid)
curl -X POST 'https://app.bimpsoft.com/org2/warehouse/api-create' \
  -H 'access-token: <company token>' \
  -H 'Content-Type: application/json' \
  -d '{"name":"string"}'

api-update

POST /org2/warehouse/api-update

A request to update an existing warehouse

Request body (JSON)

FieldTypeRequiredDescription
uuidstring (uuid)yesA unique uuid key for the warehouse
namestringWarehouse name
mainbooleanIndicates whether this warehouse is marked as main
archivedbooleanWhether the warehouse is archived
activebooleanWhether the warehouse is active
publicWarehousebooleanWhether the warehouse is public
typenumberWarehouse type
commentstringAn optional text field for any additional notes or comments related to the document
addressstringWarehouse address
lineOfBusinessstring (uuid)A unique identifier for the Line of Business, obtainable from the /lineOfBusiness/api-readList request
priceListstring (uuid)A unique identifier for the Price List, obtainable from the /priceList/api-readList request
cashRegisterstring (uuid)The unique identifier for the payment entity type, obtainable from the /bankAccounts/api-readList request OR from /cashRegistry/api-readList request
parentstring (uuid)A unique identifier for the Warehouse, obtainable from the /warehouse/api-readList request
responsiblestring (uuid)A unique identifier for the Employee, obtainable from the /employee/api-readList request
counterpartystring (uuid)A unique identifier for the Counterparty, obtainable from the /counterparty/api-readList request

Response: data field

FieldTypeDescription
uuidstring (uuid)
curl -X POST 'https://app.bimpsoft.com/org2/warehouse/api-update' \
  -H 'access-token: <company token>' \
  -H 'Content-Type: application/json' \
  -d '{"uuid":"00000000-0000-0000-0000-000000000000"}'

Interactive documentation with a test request option: https://app.bimpsoft.com/docs. The OpenAPI specification is updated together with Bimp; this page is generated from it automatically.