When working with B2B Commerce Apis we can use the api/v1/products endpoint to get all products in the console. How can the API be used to only to only return erpnumber instead of getting the entirejson object?
Details
Access the B2B Commerce API Tester within the B2B Commerce Admin Console. The Api Tester is located under the "bug" Icon:
Use "/api/v1/admin/products?$select=id,erpNumber" in the Url field to return only the ErpNumber:
Additional comments.
Please sign in to leave a comment.