market.addCatalog ✎ Edit on GitHub

Add new catalog to group

NameRequiredTypeDescription
gid true String

Group ID

name true String

Catalog name

photo_id false String

Photo id generated after photo uploading

admin_restricted false Boolean

Flag, the group is admin restricted for adding products

Authorization

Session is required

Required permissions:

  • GROUP_CONTENT
  • VALUABLE_ACCESS

Photo uploading is similar with mediatopic. It also does not require commit invoking.

Response

{ "catalog_id": "String", "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