prettyCards

prettyCards.getById

The translation was generated automatically and may contain mistakes

Returns information about the card.

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

Parameters

owner_id

integer

Card holder ID.

Required parameter

card_ids

integer

List of card identifiers that need to be returned. A line with comma-separated numbers.

Required parameter

Result

Returns an array of structures with the following fields:

  • •
    card_id ID of the card;
  • •
    link_url the target reference;
  • •
    title the title;
  • •
    button - button identifier (see method prettyCards.create );
  • •
    button_text Text of the button;
  • •
    photo ID of the photo;
  • •
    images An array of structures with different photo sizes:
    • •
      url URL of the photo;
    • •
      width The width of the photo;
    • •
      height The height of the photo.
  • •
    price — цена;
  • •
    price_old The old price.

Error codes

Common errors may occur during execution