commercecloud-ocapi-client icon indicating copy to clipboard operation
commercecloud-ocapi-client copied to clipboard

Lack of examples - can't search products with multiple refinements

Open bukira opened this issue 5 years ago • 3 comments

I am trying to use the API and the lack of examples makes it really hard to use,

I am trying to use multiple refinements refine_1 and refine_2 etc, the documentation says its supported but it doesn't currently work and there's no examples of how it works.

bukira avatar Jan 14 '20 15:01 bukira

There was a recent related change in refinements in #29 worth looking into. A recent deployment to OCAPI broke the previous way of using refinements, which is most likely what you ran into

drewzboto avatar Jan 16 '20 17:01 drewzboto

hi ,

Not sure I follow which exactly is the correct way and which is the wrong way,

I am using ^0.1.11 build

and it has a single refine refine: this.apiClient.buildCollectionParam(opts.refine, 'csv'),

Which doesn't work

bukira avatar Jan 17 '20 09:01 bukira

installed and testing 0.1.12 :-)

bukira avatar Jan 17 '20 09:01 bukira