Comment on page
Supercart provides a native REST API along with SDKS for developers that wish to integrate their website or store to the platform.
The Supercart API uses API keys to authenticate requests. You can view and manage your API keys in the checkout configuration under Webservices
Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in exposed areas such as GitHub, client-side code.
//Add basic auth header to request
'Authorization': 'Bearer: ' + key