Challenge for the Course Calling Commerce APIs
Commerce API course challenge
Proposal
Now, instead of reusing a Client from the @vtex/clients
package, create your own Client following the steps of this material.
You must create a Client Search
that must contain only one method called productFullTextSearch
that receives only one string term
. The Client must call the Search API, returning a list of products resulting from the search for this term
.
After that, implement a route in your service so that you can test your Client.
Useful links
Expected Response
! Request Example
Help us make this content better!
VTEX IO courses are open source. If you see something wrong, you can open a pull request!
Make a contributionUpdated almost 4 years ago