SDKs
TypeScript
Use our TypeScript SDK to interact with our API.
The TypeScript library provides convenient access to the Pandabase API from applications written in server-side TypeScript/JavaScript.
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 })