magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

WEBAPI: missing assigning item to multiple websites in catalogProductRepositoryV1SaveRequest

Open ericahoekerd opened this issue 10 years ago • 5 comments

In the webservice catalogProductRepositoryV1SaveRequest I miss a section for websites, right now it is not possible to assign a product to multiples websites. Can you bring this back again? I would expect a section called <websites><item>1</item><item>2</item></websites>

ericahoekerd avatar May 13 '16 13:05 ericahoekerd

Mark--can you investigate this item and take next steps as appropriate?

pboisvert avatar May 13 '16 14:05 pboisvert

#3792 is similar issue

Tracking as internal issue MAGETWO-52812

mbrinton01 avatar May 13 '16 21:05 mbrinton01

Hi @tinxit,

At the moment we do not have ability to modify websites with catalogProductRepositoryV1SaveRequest. But you can use catalogProductWebsiteLinkRepositoryV1 for assign product to website, e.g POST /V1/products/product-sku/websites { "productWebsiteLink": { "sku": "product-sku", "websiteId": 1 } }

mslabko avatar May 17 '16 15:05 mslabko

According to contributor guide, tickets without response for two weeks should be closed. Please feel free to reopen if it's needed.

andimov avatar Jul 11 '16 14:07 andimov

Hi all, the fix has been delivered to mainline.

slavvka avatar Jul 28 '16 11:07 slavvka