2

API call : /V1/products/{sku}

I'm Updating product by API.

In which I'm passing website ids 0,1,2.

It will update data only in stores, not to All store View.

I don't want it to update storewise,it should update Globally to all stores.

How can I achieve this?

UPDATE

I want to get Product All Store View and Store wise, also want the same update product store wise and all store view. How can I achieve it by API?

I want same for categories

Magento: 2.2.2

1

You will need to use a different endpoint to update all store views. This will update all store views:

/all/V1/products/{sku}

However, somthing like the following will only update default store view

/default/V1/products/{sku}
| improve this answer | |
0

You can use this end point of API to achieve

/all/V1/products/{sku}

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.