Installation
Install the package with:Usage
The package needs to be configured with your api key, which is available in the api keys tab.Configuration
The package can be initialized with several options:Signatures
shops
list()
retrieve(shopId)
products
list({ page_size: number, page_number: number })
retrieve(productId)
retrieveByHandle(handle)
create({ CreateProductRequestBody })
update(productId, { UpdateProductRequestBody })
delete(productId)
coupons
list({ page_size: number, page_number: number })
retrieve(couponId)
create({ CreateCouponRequestBody })
update(couponId, { UpdateCouponRequestBody })