groups

groups.toggleMarket

The translation was generated automatically and may contain mistakes

Switches the functionality of the Products section in the selected group.

To call this method, you can use:
• user access token (access right required: groups — this is issued in exceptional cases by a request to support at devsupport@corp.vk.com)

Parameters

group_id

positive

Community ID, in which you need to switch the functionality of the store.

Required parameter

state

string

Significance of the switch. Possible values:

  • none goods are removed;
  • basic Basic goods;
  • advanced Extended goods.

Required parameter

ref

string

utm_source

string

utm_medium

string

utm_campaign

string

utm_content

string

utm_term

string

promocode

string

Error codes

1431
Market was already enabled in this group
1432
Market was already disabled in this group

Common errors may occur during execution