A bin identifies a specific location within a warehouse where items are or can be stored. Bins make it easier to find items during transaction processing.
Returns up to 100 objects from the collection with a key, ID, and link for each bin. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
Subscription | Inventory Control |
---|---|
Configuration | Advanced workflows is enabled. |
User type | Business, CRM, Employee, Warehouse |
Permissions | List, View Bins |
OK
Bad Request
{- "ia::result": [
- {
- "key": "12",
- "id": "Z4-A2-R3a-BF2-B10",
- "href": "/objects/inventory-control/bin/122"
}, - {
- "key": "32",
- "id": "Z4-A2-R3a-BF2-B11",
- "href": "/objects/inventory-control/bin/132"
}, - {
- "key": "44",
- "id": "Z4-A2-R3a-BF2-B12",
- "href": "/objects/inventory-control/bin/44"
}, - {
- "key": "13",
- "id": "Z4-A2-R3a-BF2-B13",
- "href": "/objects/inventory-control/bin/13"
}
], - "ia::meta": {
- "totalCount": 4,
- "start": 1,
- "pageSize": 100,
- "next": 2,
- "previous": 0
}
}
Creates a new bin.
Subscription | Inventory Control |
---|---|
Configuration | Advanced workflows is enabled. |
User type | Business |
Permissions | List, View, Add Bins |
id required | string <= 30 characters Name or other unique identifier for the bin. The identifier should make it easy to find the bin. For example, if bin 10 is in zone 4, aisle 2, row 3a, and bin face 2, Z4-A2-R3a-BF2-B10 would be a good ID. Example: "Z4-A2-R3a-BF2-B10" | ||||
description | string <= 100 characters Description of the bin. Example: "Bin of wrenches 02" | ||||
object | |||||
| |||||
object | |||||
| |||||
object | |||||
| |||||
object | |||||
| |||||
object | |||||
| |||||
object | |||||
| |||||
sequenceNumber | string <= 10 characters ^-{0,1}[0-9]*\.{0,1}[0-9]*$ Sequence number for the bin. Sequence numbering supports more efficient picking, packing, and cycle counts. Example: "1233" | ||||
isPortable | boolean Default: false Set to true if the bin can be moved to another location, otherwise set to false. Example: true | ||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
Created
Bad Request
{- "id": "Z4-A2-R3a-BF2-B10",
- "description": "Bin Adapters 2",
- "sequenceNumber": "4432",
- "isPortable": true,
- "warehouse": {
- "id": "WA2"
}
}
{- "ia::result": {
- "key": "111",
- "id": "Z4-A2-R3a-BF2-B10",
- "href": "/objects/inventory-control/bin/111"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified bin.
Subscription | Inventory Control |
---|---|
Configuration | Advanced workflows is enabled. |
User type | Business, CRM, Employee, Warehouse |
Permissions | List, View Bins |
key required | string System-assigned key for the bin. Example: 111 |
OK
Bad Request
{- "ia::result": {
- "key": "111",
- "id": "Z4-A2-R3a-BF2-B10",
- "description": "Bin of adapters 2",
- "warehouse": {
- "key": "2",
- "id": "WA2",
- "href": "/objects/inventory-control/warehouse/2"
}, - "aisle": {
- "key": "13",
- "id": "A2",
- "href": "/objects/inventory-control/aisle/13"
}, - "row": {
- "key": "23",
- "id": "R3a",
- "href": "/objects/inventory-control/row/23"
}, - "zone": {
- "key": "12",
- "id": "Z4",
- "href": "/objects/inventory-control/zone/12"
}, - "binFace": {
- "key": "3",
- "id": "BF2",
- "href": "/objects/inventory-control/bin-face/3"
}, - "binSize": {
- "key": "5",
- "id": "B10",
- "href": "/objects/inventory-control/bin-size/5"
}, - "href": "/objects/inventory-control/bin/111",
- "sequenceNumber": "1221",
- "status": "active",
- "isPortable": false,
- "audit": {
- "createdDateTime": "2021-05-07T21:30:03Z",
- "modifiedDateTime": "2021-05-07T21:30:03Z",
- "createdBy": "13",
- "modifiedBy": "13"
}
}, - "ia::meta": {
- "totalCount": 1
}
}
Updates an existing bin by setting field values. Any fields not provided remain unchanged.
Subscription | Inventory Control |
---|---|
Configuration | Advanced workflows is enabled. |
User type | Business |
Permissions | List, View, Edit Bins |
key required | string System-assigned key for the bin. Example: 111 |
id | string <= 30 characters Name or other unique identifier for the bin. The identifier should make it easy to find the bin. For example, if bin 10 is in zone 4, aisle 2, row 3a, and bin face 2, Z4-A2-R3a-BF2-B10 would be a good ID. Example: "Z4-A2-R3a-BF2-B10" | ||||
description | string <= 100 characters Description of the bin. Example: "Bin of wrenches 02" | ||||
object | |||||
| |||||
object | |||||
| |||||
object | |||||
| |||||
object | |||||
| |||||
object | |||||
| |||||
object | |||||
| |||||
sequenceNumber | string <= 10 characters ^-{0,1}[0-9]*\.{0,1}[0-9]*$ Sequence number for the bin. Sequence numbering supports more efficient picking, packing, and cycle counts. Example: "1233" | ||||
isPortable | boolean Default: false Set to true if the bin can be moved to another location, otherwise set to false. Example: true | ||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
OK
Bad Request
{- "description": "Bin of adapters 3"
}
{- "ia::result": {
- "key": "2",
- "id": "Z4-A2-R3a-BF2-B10",
- "href": "/objects/inventory-control/bin/2"
}, - "ia::meta": {
- "totalCount": 1
}
}
Deletes a bin. You can delete a bin if it is not being used and you no longer need it.
Subscription | Inventory Control |
---|---|
Configuration | Advanced workflows is enabled. |
User type | Business |
Permissions | List, View, Delete Bins |
key required | string System-assigned key for the bin. Example: 111 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "inventory-control/bin" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the response. Example: 100 |
OK
Bad Request
{- "object": "inventory-control/bin",
- "filters": [
- {
- "$eq": {
- "status": "active"
}
}
], - "fields": [
- "key",
- "id",
- "description",
- "href"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "description": "Cam lock nuts",
- "href": "/objects/inventory-control/bin/1"
}, - {
- "key": "2",
- "id": "B0001",
- "description": "Cam lock screws",
- "href": "/objects/inventory-control/bin/2"
}, - {
- "key": "3",
- "id": "B0002",
- "description": "Shelf pins",
- "href": "/objects/inventory-control/bin/3"
}, - {
- "key": "4",
- "id": "Bin 20",
- "description": "Primary slats",
- "href": "/objects/inventory-control/bin/4"
}, - {
- "key": "6",
- "id": "WEast-AA001-RR0001-BB0001",
- "description": "Primary dividers",
- "href": "/objects/inventory-control/bin/6"
}, - {
- "key": "7",
- "id": "WEast-AA001-RR0002-BB0001",
- "description": "Secondary dividers",
- "href": "/objects/inventory-control/bin/7"
}, - {
- "key": "5",
- "id": "West-B1",
- "description": "Spur gears",
- "href": "/objects/inventory-control/bin/5"
}, - {
- "key": "8",
- "id": "Z2-A2a-R4-BF2-B2",
- "description": "Bevel gears",
- "href": "/objects/inventory-control/bin/8"
}
], - "ia::meta": {
- "totalCount": 8,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}