commercetools-node-mock icon indicating copy to clipboard operation
commercetools-node-mock copied to clipboard

Implement asAssociate() methods

Open jsm1t opened this issue 1 year ago • 1 comments

Fetching data using the .asAssociate option is currently not yet supported, but required for B2B functionality. Allows fetching data based on the associate role in a business unit. (See: https://docs.commercetools.com/api/projects/associate-business-units)

jsm1t avatar Dec 10 '24 12:12 jsm1t

Some basic support is added via #259 but it doesn't do any permission checking yet. At minimum we should validate the business-unit.

mvantellingen avatar Dec 10 '24 14:12 mvantellingen