Open peterTrifecta opened 2 years ago
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
That code still uses the REST API, but there is a method in Apex now. https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CommerceSearch_static_methods.htm#apex_ConnectAPI_CommerceSearch_productSearch_1
Thanks for suggestion under issue. This help me a lot with saved my so much time.!!
https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/blob/741479e9eca0ba6b73f4bf503427fe3357ba34c1/examples/lwc/force-app/main/default/classes/B2BSearchControllerSample.cls#L25
That code still uses the REST API, but there is a method in Apex now. https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CommerceSearch_static_methods.htm#apex_ConnectAPI_CommerceSearch_productSearch_1