TheFittingRoom / shop-sdk

0 stars 0 forks source link

Shop sdk needs an `init` function that accepts the brand id #28

Closed edalford11 closed 1 year ago

edalford11 commented 1 year ago

Right now the SDK doesn't uniquely identify the brand that is using the SDK. This is a problem because the skus are only unique to the brand, not globally.

To resolve this, the SDK needs some kind of init function that should accept the brand_id we give to the partner. This will allow the sdk to access that brand id whenever we need it.

This brand id is something we'll need to use in this ticket https://github.com/TheFittingRoom/shop-sdk/issues/27

The brand id for the current shopify site is 1

edalford11 commented 1 year ago

Adding this back into the in progress column since the sdk is currently not getting passed the brand_id.

codeliger commented 1 year ago

done