Magento Rest API – white space sku issue


Unable to get update price via REST API due to white space in the sku

Steps to reproduce the issue

  1. Create a product with SKU containing white space, eg. ‘BAH SB’
  2. Query Magento instance via REST API /rest/V1/products/BAH SB
  3. Observe response

I tried URL Encoding:



but didn’t work.

Any Help?