Articles on: Developer

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


Bird widget API


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()


Updated on: 12/09/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!