market.reorder ✎ Edit on GitHub

Reorder products in catalog

NameRequiredTypeDescription
gid true String

Group ID

catalog_id true String

Catalog ID

product_id true String

Product ID to move

after_product_id false String

The product will be placed after one

Authorization

Session is required

Required permissions:

  • GROUP_CONTENT
  • VALUABLE_ACCESS

The only 20 top products are sorted. Pinned products can be reordered only with each other.

Response

{ "success": "boolean" }

Application paramters

User session data

Method

List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig