@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Stocks
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
get
All
get
Locations
get
One
Location
transfer
update
Stocks
Book
Stocks
Book
Fetch
Failed
Stocks
Book
Get
Meta
Failed
Location
Stock
Stocks
Book
Query
Stocks
Options
Stocks
Query
Stocks
Response
Stocks
Update
Request
Object
Transfer
Location
Transfer
Request
Object
Hierarchy
ThBaseHandler
Stocks
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
get
All
get
Locations
get
One
Location
transfer
update
Constructors
constructor
new
Stocks
(
options
:
StocksOptions
, http
:
Client
)
:
Stocks
Parameters
options:
StocksOptions
http:
Client
Returns
Stocks
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
StocksOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/stock'
Methods
create
create
(
stock
:
Stock
)
:
Promise
<
StocksResponse
>
Parameters
stock:
Stock
Returns
Promise
<
StocksResponse
>
get
All
get
All
(
query
?:
StocksQuery
)
:
Promise
<
StocksResponse
>
Parameters
Optional
query:
StocksQuery
Returns
Promise
<
StocksResponse
>
get
Locations
get
Locations
(
query
?:
StocksQuery
)
:
Promise
<
StocksResponse
>
Parameters
Optional
query:
StocksQuery
Returns
Promise
<
StocksResponse
>
get
One
Location
get
One
Location
(
locationId
:
string
)
:
Promise
<
StocksResponse
>
Parameters
locationId:
string
Returns
Promise
<
StocksResponse
>
transfer
transfer
(
body
:
TransferRequestObject
)
:
Promise
<
StocksResponse
>
Parameters
body:
TransferRequestObject
Returns
Promise
<
StocksResponse
>
update
update
(
requestObject
:
StocksUpdateRequestObject
)
:
Promise
<
StocksResponse
>
Parameters
requestObject:
StocksUpdateRequestObject
Returns
Promise
<
StocksResponse
>
Generated using
TypeDoc