market.edit
Edit product
Name | Required | Type | Description |
---|---|---|---|
product_id | true | | Product ID |
attachment | true | | Json-formatted product content |
catalog_ids | false | |
Authorization
Session is requiredRequired permissions
- GROUP_CONTENT
- VALUABLE_ACCESS
Requires strict mediablock order in an attachment field - title(text), description(text), photo (optional), product specific info. Example:
Default currency is russian ruble. Default lifetime is 30 days. It is possible to specify others: USD, KZT, UAH, GEL, UZS, KGS, AZN, USD, EUR. Example with 10$ price:
If it’s required to set link to external site, it’s possible to specify partner_link field in product info:
Photo uploading is similar with mediatopic. It also does not require commit invoking.
Type
{ "product_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