@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Warehouses
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
All
get
One
put
Error
Object
Warehouse
Warehouse
Address
Warehouse
Image
Warehouse
Phone
Numbers
Warehouse
Response
Warehouses
Options
Warehouses
Query
Warehouses
Response
Warehouse
Address
Type
Hierarchy
ThBaseHandler
Warehouses
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
All
get
One
put
Constructors
constructor
new
Warehouses
(
options
:
WarehousesOptions
, http
:
Client
)
:
Warehouses
Parameters
options:
WarehousesOptions
http:
Client
Returns
Warehouses
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
WarehousesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/warehouses'
Methods
create
create
(
warehouse
:
Warehouse
)
:
Promise
<
WarehousesResponse
>
Parameters
warehouse:
Warehouse
Returns
Promise
<
WarehousesResponse
>
delete
delete
(
warehouseId
:
string
)
:
Promise
<
WarehousesResponse
>
Parameters
warehouseId:
string
Returns
Promise
<
WarehousesResponse
>
get
All
get
All
(
query
?:
WarehousesQuery
)
:
Promise
<
WarehousesResponse
>
Parameters
Optional
query:
WarehousesQuery
Returns
Promise
<
WarehousesResponse
>
get
One
get
One
(
warehouseId
:
string
)
:
Promise
<
WarehousesResponse
>
Parameters
warehouseId:
string
Returns
Promise
<
WarehousesResponse
>
put
put
(
warehouseId
:
string
, warehouse
:
Warehouse
)
:
Promise
<
WarehousesResponse
>
Parameters
warehouseId:
string
warehouse:
Warehouse
Returns
Promise
<
WarehousesResponse
>
Generated using
TypeDoc