A
A
Alexey Solovyov2016-01-11 00:41:05
In contact with
Alexey Solovyov, 2016-01-11 00:41:05

The market.edit method does not allow photo editing. Someone faced?

The method works correctly if (among other parameters) only main_photo_id is specified , and this parameter must match the main_photo_id that was sent when the product was created.
The method breaks if:

  1. main_photo_id differs from the one sent when creating the product
  2. the photo_ids parameter is specified , and it doesn't matter if these id 's are equal to those sent when the product was created or different.

Thus, at the moment there is no way to change the main photo of the product, add , remove or change the order of additional images.
In summary, if you need to edit a product using the market.edit method :
  1. do not send the photo_ids parameter at all,
  2. the main_photo_id parameter must be equal to the similar one when creating a product using the market.add method

Methods: market.add , market.ed t VKontakte.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2016-01-11
@cz_350

Hello! Now there are problems with the market method, as it is still damp. I checked market.edit when submitting main_photo_id the error is: One of the parameters specified was missing or invalid: invalid photo crop. I think this problem needs to be covered in those VK support. I hope that soon this method will be finalized as I have big plans for it!

W
werru, 2016-03-11
@werru

if you do not send photo_ids, then additional images are erased. can't find a way to leave them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question