cancel
Showing results for 
Search instead for 
Did you mean: 

Override {baseSiteId} value in commerce webservices

Former Member
0 Kudos

Hi,

Can you please let me know how to override this {baseSiteId} value that comes in the url of a commercewbservices.

say - https://localhost:9002/ulcommwebservices/v2/{basesite}/products/search

works with https://localhost:9002/ulcommwebservices/v2/powertools/products/search

how to override this value with some custom value ? Also please let me know if this {basesite} is a mandatory value ? Commercewebservices will not work without providing a value for {basesite} ?

Accepted Solutions (0)

Answers (1)

Answers (1)

VinayKumarS
Active Contributor
0 Kudos

Hi Divya,

{basesite} id is mandatory. Based on the basesite id application will identify the specific product catalog which is assigned to that particular shop. based on that products will be retrieved. I am not sure we can change this implementation. In that case again you need to pass this parameter to identify for which shop you are requesting the data. Only for shop specific data you will be passing this basesiteid