Chameleoon MAX · Types
Warehouse type
A warehouse. Requires the warehouse.read permission.
Fields
id
The warehouse's MAX id.
code
String!
The warehouse's code in MAX.
name
String!
The warehouse's name.
street
String
The street and number. Null when not given.
city
String
The city. Null when not given.
postalCode
String
The postal code. Null when not given.
countryCode
String
The country, as an ISO 3166-1 alpha-2 code. Null when not given.
isDefault
Boolean!
Whether this is the organisation's default warehouse, where a document that names none goes.
usesLocations
Boolean!
Whether stock here is kept by bin (location).
- When
true, every stock write names a bin.syncStockLevelsrefuses an item without alocationCodehere withLOCATION_REQUIRED. - When
false, every entry lands on the warehouse's default bin.
stockMasterSource
The external system that manages this warehouse's stock. Null while MAX manages it.
- A user sets it on the warehouse in MAX.
syncStockLevelswrites the stock. syncStockLevelsfrom any other external source is refused (STOCK_NOT_MASTERED).- Requires the
integration.readpermission besideswarehouse.read. Without it, the field is null with aFORBIDDEN_ROLEerror at its path, and the rest of the warehouse is returned.
archivedAt
When the warehouse was archived. Null while it is in use.