Hi anyone! I've tried for make a request like this:
{ "items": [ { "sku": "product-test", "link_type": "crosssell", "linked_product_sku": "product-1" }, { "sku": "product-test", "link_type": "crosssell", "linked_product_sku": "product-2" }, { "sku": "product-test", "link_type": "related", "linked_product_sku": "product-1" } ] }
for product-test, it's already have a crosssell product link. I think it's must be updated, but there's no update. any solutions?
Solved! Go to Solution.
Hello @harits_rahman
You can refer the below links for the solution:
https://gist.github.com/mrkhoa99/bd43fe34fc51d1f7fd38fbf7d13d384b
Hope it helps.
Hello @harits_rahman
You can refer the below links for the solution:
https://gist.github.com/mrkhoa99/bd43fe34fc51d1f7fd38fbf7d13d384b
Hope it helps.
So, I must makes some requests again for make another product links added to the product?
Hey @harits_rahman
For that, you need to create an array variable and store your product SKU in the array as per your requirement.
Thanks.