Preparing search index...
The search index is not available
GHL SDK - v1.1.6
GHL SDK
ProductsClient
Class ProductsClient
Hierarchy
GhlClient
ProductsClient
Index
Constructors
constructor
Methods
find
By
Id
remove
update
create
find
create
Price
find
Prices
find
Price
By
Id
update
Price
remove
Price
Constructors
constructor
new
ProductsClient
(
accessToken
:
string
)
:
ProductsClient
Parameters
accessToken
:
string
Returns
ProductsClient
Methods
find
By
Id
findById
(
productId
:
string
,
locationId
:
string
)
:
Promise
<
Product
>
Parameters
productId
:
string
locationId
:
string
Returns
Promise
<
Product
>
remove
remove
(
productId
:
string
,
locationId
:
string
)
:
Promise
<
ProductsDeleteResponse
>
Parameters
productId
:
string
locationId
:
string
Returns
Promise
<
ProductsDeleteResponse
>
update
update
(
productId
:
string
,
dto
:
ProductDto
)
:
Promise
<
Product
>
Parameters
productId
:
string
dto
:
ProductDto
Returns
Promise
<
Product
>
create
create
(
dto
:
ProductDto
)
:
Promise
<
Product
>
Parameters
dto
:
ProductDto
Returns
Promise
<
Product
>
find
find
(
params
:
ProductSearchParams
)
:
Promise
<
ListProductsResponse
>
Parameters
params
:
ProductSearchParams
Returns
Promise
<
ListProductsResponse
>
create
Price
createPrice
(
productId
:
string
,
dto
:
ProductPriceDto
)
:
Promise
<
ProductPrice
>
Parameters
productId
:
string
dto
:
ProductPriceDto
Returns
Promise
<
ProductPrice
>
find
Prices
findPrices
(
productId
:
string
,
params
:
ProductPriceSearchParams
,
)
:
Promise
<
ListProductPricesResponse
>
Parameters
productId
:
string
params
:
ProductPriceSearchParams
Returns
Promise
<
ListProductPricesResponse
>
find
Price
By
Id
findPriceById
(
productId
:
string
,
priceId
:
string
,
locationId
:
string
,
)
:
Promise
<
ProductPrice
>
Parameters
productId
:
string
priceId
:
string
locationId
:
string
Returns
Promise
<
ProductPrice
>
update
Price
updatePrice
(
productId
:
string
,
priceId
:
string
,
dto
:
ProductPriceDto
,
)
:
Promise
<
ProductPrice
>
Parameters
productId
:
string
priceId
:
string
dto
:
ProductPriceDto
Returns
Promise
<
ProductPrice
>
remove
Price
removePrice
(
productId
:
string
,
priceId
:
string
,
locationId
:
string
,
)
:
Promise
<
ProductsDeleteResponse
>
Parameters
productId
:
string
priceId
:
string
locationId
:
string
Returns
Promise
<
ProductsDeleteResponse
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
find
By
Id
remove
update
create
find
create
Price
find
Prices
find
Price
By
Id
update
Price
remove
Price
GHL SDK - v1.1.6
Loading...