@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Cart
Fetch
Failed
Carts
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
meta
put
search
Carts
Create
Failed
Carts
Delete
Failed
Carts
Fetch
Failed
Carts
Meta
Failed
Carts
Search
Failed
Carts
Update
Failed
Cart
Cart
Delete
Options
Cart
Response
Carts
Create
Query
Carts
Options
Carts
Response
Error
Object
Handler
Products
Query
Images
Products
Update
Request
Object
Hierarchy
ThBaseHandler
Carts
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
meta
put
search
Constructors
constructor
new
Carts
(
options
:
CartsOptions
, http
:
Client
)
:
Carts
Parameters
options:
CartsOptions
http:
Client
Returns
Carts
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
CartsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v1/carts'
Methods
create
create
(
cart
:
Cart
, query
?:
Record
<
string
,
unknown
>
)
:
Promise
<
CartResponse
>
Parameters
cart:
Cart
Optional
query:
Record
<
string
,
unknown
>
Returns
Promise
<
CartResponse
>
delete
delete
(
cartId
:
string
, deleteOptions
?:
CartDeleteOptions
)
:
Promise
<
CartsResponse
>
Parameters
cartId:
string
Optional
deleteOptions:
CartDeleteOptions
Returns
Promise
<
CartsResponse
>
get
get
(
cartId
:
string
)
:
Promise
<
CartResponse
>
Parameters
cartId:
string
Returns
Promise
<
CartResponse
>
get
All
get
All
(
options
?:
CartsOptions
)
:
Promise
<
CartsResponse
>
Parameters
Optional
options:
CartsOptions
Returns
Promise
<
CartsResponse
>
meta
meta
(
)
:
Promise
<
CartsResponse
>
Returns
Promise
<
CartsResponse
>
put
put
(
cartId
:
string
, cart
:
Cart
)
:
Promise
<
CartResponse
>
Parameters
cartId:
string
cart:
Cart
Returns
Promise
<
CartResponse
>
search
search
(
searchTerm
:
string
)
:
Promise
<
CartsResponse
>
Parameters
searchTerm:
string
Returns
Promise
<
CartsResponse
>
Generated using
TypeDoc