API add product with common product

What is correct way to add a vendor’s product to a common product?
When I simply add to vendors product
"master_product_id": "1111"
where 1111 is id of the common product, then the vendor’s product is added to the common proudct but the common product doesn’t change the field “Price from” and doesn’t show the vendors products in right order (from cheapest to the most expensive). Do I have to reindex the common product with some special command?

Sorry to bother but there is no information in manual. :slightly_frowning_face:

Hello!

Please try the following: send POST request to the URL in the following format:
https://site.example.com/api/master_products/1111/master_product_offers/
with the following data in its body (JSON encoded):

{
	"company_id": 2
}

This will create the new offer of the common product for the vendor with ID == 2.