@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Storefronts
constructor
endpoint
http
options
uri
Helper
base
Endpoint
available
Products
available
Products
Meta
create
delete
delta
get
get
All
get
Whitelisted
get
Whitelisted
Meta
profile
put
sync
sync
Status
whitelist
Storefronts
Available
Products
Failed
Storefronts
Available
Products
Meta
Failed
Storefronts
Creation
Failed
Storefronts
Delete
Failed
Storefronts
Delta
Failed
Storefronts
Fetch
Failed
Storefronts
Fetch
One
Failed
Storefronts
Fetch
Whitelisted
Failed
Storefronts
Fetch
Whitelisted
Meta
Failed
Storefronts
Profile
Fetch
Failed
Storefronts
Put
Failed
Storefronts
Sync
All
Failed
Storefronts
Sync
Status
Fetch
Failed
Storefronts
Whitelist
Failed
Storefront
Storefront
Delta
Storefront
Delta
Response
Storefront
Profile
Storefront
Profile
Response
Storefront
Response
Storefront
Sync
All
Response
Storefront
Sync
Status
Storefront
Sync
Status
Response
Storefront
Whitelist
Meta
Response
Storefront
Whitelist
Response
Storefronts
Options
Storefronts
Query
Storefronts
Response
Whitelist
Product
Hierarchy
ThBaseHandler
Storefronts
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
available
Products
available
Products
Meta
create
delete
delta
get
get
All
get
Whitelisted
get
Whitelisted
Meta
profile
put
sync
sync
Status
whitelist
Constructors
constructor
new
Storefronts
(
options
:
StorefrontsOptions
, http
:
Client
)
:
Storefronts
Parameters
options:
StorefrontsOptions
http:
Client
Returns
Storefronts
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
StorefrontsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/storefronts'
Methods
available
Products
available
Products
(
storefrontId
:
string
, query
?:
ProductsOptions
)
:
Promise
<
StorefrontAvailableProductsResponse
>
Parameters
storefrontId:
string
Optional
query:
ProductsOptions
Returns
Promise
<
StorefrontAvailableProductsResponse
>
available
Products
Meta
available
Products
Meta
(
storefrontId
:
string
, query
?:
ProductsOptions
)
:
Promise
<
StorefrontAvailableProductsResponse
>
Parameters
storefrontId:
string
Optional
query:
ProductsOptions
Returns
Promise
<
StorefrontAvailableProductsResponse
>
create
create
(
storefront
:
Storefront
)
:
Promise
<
StorefrontResponse
>
Parameters
storefront:
Storefront
Returns
Promise
<
StorefrontResponse
>
delete
delete
(
storefrontId
:
string
)
:
Promise
<
StorefrontResponse
>
Parameters
storefrontId:
string
Returns
Promise
<
StorefrontResponse
>
delta
delta
(
storefrontId
:
string
)
:
Promise
<
StorefrontDeltaResponse
>
Parameters
storefrontId:
string
Returns
Promise
<
StorefrontDeltaResponse
>
get
get
(
storefrontId
:
string
)
:
Promise
<
StorefrontResponse
>
Parameters
storefrontId:
string
Returns
Promise
<
StorefrontResponse
>
get
All
get
All
(
queryOrOptions
?:
StorefrontsQuery
)
:
Promise
<
StorefrontsResponse
>
Parameters
Optional
queryOrOptions:
StorefrontsQuery
Returns
Promise
<
StorefrontsResponse
>
get
Whitelisted
get
Whitelisted
(
storefrontId
:
string
)
:
Promise
<
StorefrontWhitelistResponse
>
Parameters
storefrontId:
string
Returns
Promise
<
StorefrontWhitelistResponse
>
get
Whitelisted
Meta
get
Whitelisted
Meta
(
storefrontId
:
string
)
:
Promise
<
StorefrontWhitelistMetaResponse
>
Parameters
storefrontId:
string
Returns
Promise
<
StorefrontWhitelistMetaResponse
>
profile
profile
(
storefrontId
:
string
)
:
Promise
<
StorefrontProfileResponse
>
Parameters
storefrontId:
string
Returns
Promise
<
StorefrontProfileResponse
>
put
put
(
storefrontId
:
string
, storefront
:
Storefront
)
:
Promise
<
StorefrontResponse
>
Parameters
storefrontId:
string
storefront:
Storefront
Returns
Promise
<
StorefrontResponse
>
sync
sync
(
storefrontId
:
string
)
:
Promise
<
StorefrontSyncAllResponse
>
Parameters
storefrontId:
string
Returns
Promise
<
StorefrontSyncAllResponse
>
sync
Status
sync
Status
(
storefrontId
:
string
)
:
Promise
<
StorefrontSyncStatusResponse
>
Parameters
storefrontId:
string
Returns
Promise
<
StorefrontSyncStatusResponse
>
whitelist
whitelist
(
storefrontId
:
string
, products
:
string
[]
)
:
Promise
<
StorefrontWhitelistResponse
>
Parameters
storefrontId:
string
products:
string
[]
Returns
Promise
<
StorefrontWhitelistResponse
>
Generated using
TypeDoc