S
S
Sergey2021-01-29 08:58:54
Classmates
Sergey, 2021-01-29 08:58:54

How to remove product photos in the Odnoklassniki API by deleting a product?

When deleting a product using the market.delete method, the photos remain in the album.
I didn't find product photo data in the market.getByIds method.
How do I remove a photo along with a product?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2021-01-29
@Maasik

It turned out that you need to request
media_topic.*

V
Vasily Bannikov, 2021-01-29
@vabka

Look closely.
the field products.media.photo_refs is not it by any chance?
https://apiok.ru/dev/methods/rest/market/market.ge...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question