warehouse object¶
A warehouse object contains the properties that define a warehouse in DropStream.
Warehouse objects are managed by the /warehouses endpoint.
warehouse properties¶
The following are the properties of a warehouse object.
id¶
| Property | id |
|---|---|
| Data type | integer |
| Description | Unique ID, assigned when the warehouse object is created |
| Note | In other contexts, "warehouse_id" refers to this property |
| Example | 12345 |
customer_id¶
| Property | customer_id |
|---|---|
| Data type | integer |
| Description | Unique ID of the customer associated with the warehouse |
| Example | 23456 |
description¶
| Property | description |
|---|---|
| Data type | string |
| Description | Warehouse description |
| Example | "Warehouse Description" |
platform¶
| Property | platform |
|---|---|
| Data type | string |
| Description | A warehouse platform string specifying the warehouse platform |
| Example | "ship_station" |
adapter¶
| Property | adapter |
|---|---|
| Data type | adapter object |
| Description | Platform-specific API credentials and settings |
| Example | |
created_at¶
| Property | created_at |
|---|---|
| Data type | dateString |
| Description | Date when the warehouse was created |
| Example | "2020-08-19T14:57:20.000Z" |
enabled_at¶
| Property | enabled_at |
|---|---|
| Data type | dateString, or null |
| Description | Date when the warehouse was most recently enabled, or null if currently disabled |
| More info | |
| Example | "2020-08-19T14:57:20.000Z" |
order_status_imported_at¶
| Property | order_status_imported_at |
|---|---|
| Data type | dateString |
| Description | Date when order status was most recently imported for the warehouse, or null if that has not yet occurred |
| Example | "2020-08-19T14:59:20.000Z" |
inventory_updated_at¶
| Property | inventory_updated_at |
|---|---|
| Data type | dateTime, or null |
| Description | Date when inventory was most recently updated for the warehouse, or null if that has not yet occurred |
| Example | "2020-08-19T14:59:20.000Z" |
Example warehouse object¶
{
"id": 4609,
"customer_id": 3775,
"description": "My VeraCore Warehouse",
"platform": "veracore",
"adapter": {
"billing_code" : "Bill To",
"hostname" : "http://rhu-5678.veracore.com",
"username" : "myuser",
"password": "mypass123",
"include_discount_code" : true,
"include_package_details" : false
},
"created_at": "2020-08-19T14:57:20.000Z",
"enabled_at": "2020-08-19T14:57:20.000Z",
"order_status_imported_at": "2020-08-19T14:57:20.000Z",
"inventory_updated_at": null
}