@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Product
Groups
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
put
search
Product
Group
Product
Group
Response
Product
Groups
Options
Product
Groups
Query
Product
Groups
Response
Product
Groups
Embed
Options
Hierarchy
ThBaseHandler
ProductGroups
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
put
search
Constructors
constructor
new
Product
Groups
(
options
:
ProductGroupsOptions
, http
:
Client
)
:
ProductGroups
Parameters
options:
ProductGroupsOptions
http:
Client
Returns
ProductGroups
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
ProductGroupsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/product_groups'
Methods
create
create
(
productGroup
:
ProductGroup
)
:
Promise
<
ProductGroupResponse
>
Parameters
productGroup:
ProductGroup
Returns
Promise
<
ProductGroupResponse
>
delete
delete
(
taxId
:
string
)
:
Promise
<
ProductGroupResponse
>
Parameters
taxId:
string
Returns
Promise
<
ProductGroupResponse
>
get
get
(
productGroupId
:
string
, queryOrOptions
?:
ProductGroupsQuery
)
:
Promise
<
ProductGroupResponse
>
Parameters
productGroupId:
string
Optional
queryOrOptions:
ProductGroupsQuery
Returns
Promise
<
ProductGroupResponse
>
get
All
get
All
(
queryOrOptions
?:
ProductGroupsQuery
)
:
Promise
<
ProductGroupsResponse
>
Parameters
Optional
queryOrOptions:
ProductGroupsQuery
Returns
Promise
<
ProductGroupsResponse
>
put
put
(
productGroupId
:
string
, productGroup
:
ProductGroup
)
:
Promise
<
ProductGroupResponse
>
Parameters
productGroupId:
string
productGroup:
ProductGroup
Returns
Promise
<
ProductGroupResponse
>
search
search
(
searchTerm
:
string
)
:
Promise
<
ProductGroupsResponse
>
Parameters
searchTerm:
string
Returns
Promise
<
ProductGroupsResponse
>
Generated using
TypeDoc