@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Pricebook
Creation
Failed
Pricebook
Delete
Failed
Pricebook
Fetch
Failed
Pricebook
Put
Failed
Pricebooks
constructor
http
options
uri
Helper
copy
create
delete
get
get
All
meta
put
Pricebooks
Copy
Failed
Pricebooks
Fetch
Failed
Pricebook
Pricebook
Response
Pricebooks
Options
Pricebooks
Query
Pricebooks
Response
Hierarchy
Pricebooks
Index
Constructors
constructor
Properties
http
options
uri
Helper
Methods
copy
create
delete
get
get
All
meta
put
Constructors
constructor
new
Pricebooks
(
options
:
PricebooksOptions
, http
:
Client
, uriHelper
:
UriHelper
)
:
Pricebooks
Parameters
options:
PricebooksOptions
http:
Client
uriHelper:
UriHelper
Returns
Pricebooks
Properties
http
http
:
Client
options
options
:
PricebooksOptions
uri
Helper
uri
Helper
:
UriHelper
Methods
copy
copy
(
pricebookIds
:
string
[]
)
:
Promise
<
PricebookResponse
>
Parameters
pricebookIds:
string
[]
Returns
Promise
<
PricebookResponse
>
create
create
(
pricebook
:
Pricebook
)
:
Promise
<
PricebookResponse
>
Parameters
pricebook:
Pricebook
Returns
Promise
<
PricebookResponse
>
delete
delete
(
pricebookId
:
string
)
:
Promise
<
PricebookResponse
>
Parameters
pricebookId:
string
Returns
Promise
<
PricebookResponse
>
get
get
(
pricebookId
:
string
)
:
Promise
<
PricebookResponse
>
Parameters
pricebookId:
string
Returns
Promise
<
PricebookResponse
>
get
All
get
All
(
query
?:
PricebooksQuery
)
:
Promise
<
PricebooksResponse
>
Parameters
Optional
query:
PricebooksQuery
Returns
Promise
<
PricebooksResponse
>
meta
meta
(
)
:
Promise
<
PricebooksResponse
>
Returns
Promise
<
PricebooksResponse
>
put
put
(
pricebookId
:
string
, pricebook
:
Pricebook
)
:
Promise
<
PricebookResponse
>
Parameters
pricebookId:
string
pricebook:
Pricebook
Returns
Promise
<
PricebookResponse
>
Generated using
TypeDoc