@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Stock
Takings
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
meta
update
Stock
Takings
Creation
Failed
Stock
Takings
Delete
Failed
Stock
Takings
Fetch
Failed
Stock
Takings
Fetch
One
Failed
Stock
Takings
Meta
Failed
Stock
Takings
Update
Failed
Stock
Taking
Stock
Taking
Response
Stock
Takings
Options
Stock
Takings
Query
Options
Stock
Takings
Response
Hierarchy
ThBaseHandler
StockTakings
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
meta
update
Constructors
constructor
new
Stock
Takings
(
options
:
StockTakingsOptions
, http
:
Client
)
:
StockTakings
Parameters
options:
StockTakingsOptions
http:
Client
Returns
StockTakings
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
StockTakingsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/stock_takings'
Methods
create
create
(
stockTaking
:
StockTaking
)
:
Promise
<
StockTakingResponse
>
Parameters
stockTaking:
StockTaking
Returns
Promise
<
StockTakingResponse
>
delete
delete
(
stockTakingId
:
string
)
:
Promise
<
StockTakingResponse
>
Parameters
stockTakingId:
string
Returns
Promise
<
StockTakingResponse
>
get
get
(
stockTakingId
:
string
, query
?:
StockTakingsQueryOptions
)
:
Promise
<
StockTakingResponse
>
Parameters
stockTakingId:
string
Optional
query:
StockTakingsQueryOptions
Returns
Promise
<
StockTakingResponse
>
get
All
get
All
(
query
?:
StockTakingsQueryOptions
)
:
Promise
<
StockTakingsResponse
>
Parameters
Optional
query:
StockTakingsQueryOptions
Returns
Promise
<
StockTakingsResponse
>
meta
meta
(
query
?:
StockTakingsQueryOptions
)
:
Promise
<
StockTakingsResponse
>
Parameters
Optional
query:
StockTakingsQueryOptions
Returns
Promise
<
StockTakingsResponse
>
update
update
(
stockTakingId
:
string
, stockTaking
:
StockTaking
)
:
Promise
<
StockTakingResponse
>
Parameters
stockTakingId:
string
stockTaking:
StockTaking
Returns
Promise
<
StockTakingResponse
>
Generated using
TypeDoc