Skip to content

URL Path incorrect with Magento Rest API

I am using Python to access Magento 2 Rest API categories.

The url that I am using is this:

https:///rest/<store_code>/V1/categories/15647

The URL Path that is being returned is this:

footwear/weights/hiking-boots-shoes

however the correct path is:

footwear/men/hiking-boots-shoes

Most of the url_path for the categories are coming back correctly. But I estimate at least 15% error rate in the url_path