@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Categories
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
put
Categories
Delete
Failed
Categories
Fetch
Failed
Category
Creation
Failed
Category
Fetch
Failed
Category
Put
Failed
Categories
Options
Categories
Query
Categories
Response
Category
Category
Response
Hierarchy
ThBaseHandler
Categories
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
put
Constructors
constructor
new
Categories
(
options
:
CategoriesOptions
, http
:
Client
)
:
Categories
Parameters
options:
CategoriesOptions
http:
Client
Returns
Categories
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
CategoriesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/categories'
Methods
create
create
(
category
:
Category
)
:
Promise
<
CategoryResponse
>
Parameters
category:
Category
Returns
Promise
<
CategoryResponse
>
delete
delete
(
storefrontId
:
string
)
:
Promise
<
CategoryResponse
>
Parameters
storefrontId:
string
Returns
Promise
<
CategoryResponse
>
get
get
(
categoryId
:
string
)
:
Promise
<
CategoryResponse
>
Parameters
categoryId:
string
Returns
Promise
<
CategoryResponse
>
get
All
get
All
(
query
?:
CategoriesQuery
)
:
Promise
<
CategoriesResponse
>
Parameters
Optional
query:
CategoriesQuery
Returns
Promise
<
CategoriesResponse
>
put
put
(
categoryId
:
string
, category
:
Category
)
:
Promise
<
CategoryResponse
>
Parameters
categoryId:
string
category:
Category
Returns
Promise
<
CategoryResponse
>
Generated using
TypeDoc