Widget APIs ( REST & JavaScript)
- REST API
Refer this API doc : https://picdel.birdchime.com/api-docs
- Widget API: You can run the following code snippets in the developer console when the widget is installed in your theme

Get the current selection made by the customer in the widget
BirdSDK.session.getState('selections')
Whether to show widget or not
BirdSDK.helpers.shouldHideWidget()
Check postal code eligibility
BirdSDK.helpers.checkPostcodeEligibility('V6Z 3C1').then((data) => console.log(data))
Clear data recorded by Bird app for the cart
BirdSDK.helpers.clearCartSelections()
Get the checkout paramters
BirdSDK.helpers.getCheckoutParams()
Related Articles
- Listen for Widget State Changes with Custom Events
- How to Manually Add the Widget Code to Your Cart Page
- Can I place the date picker on the product page instead of the cart?
Updated on: 02/16/2026
Thank you!
