How to use the API Tester to only return the erpnumber instead of getting the whole json object

  • Updated
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:

 

mceclip0.png


Use "/api/v1/admin/products?$select=id,erpNumber" in the Url field to return only the ErpNumber:

 

mceclip1.png

 

Additional comments.