SalesforceCommerceCloud / commerce-sdk-isomorphic

Browser & Node.js JavaScript client for B2C Commerce API
https://salesforcecommercecloud.github.io/commerce-sdk-isomorphic/
BSD 3-Clause "New" or "Revised" License
42 stars 20 forks source link

Add channel_id to SLAS getAccessToken calls #102

Closed vcua-mobify closed 1 year ago

vcua-mobify commented 1 year ago

Hi team,

With the recent SLAS release on Sept. 13, SLAS now supports client-id per site rather than client-id per instance. As a result of this change, the calls to log in a user must now include the channel_id parameter (which corresponds to the siteId).

This PR updates the SLAS helper to include channel_id when we are calling SLAS endpoints.