Size Tables

The size chart shows the buyer what size in other size grids and what dimensions the size of the product corresponds to. You can specify it for products with a size, such as clothes and shoes.

The table does not refer to a category, but to the size characteristics of the product, for example, the size of clothes or shoes. Therefore, one table can be specified for products of all categories with the same size characteristics.

Columns of the table — these are size grids (for example, RU, EU, INT) and measurements (for example, chest circumference, foot length). Each row describes one size: its values in all grids and dimensions.

You can use a ready-made Market table or create your own.

Select a ready-made table

  1. Select the tables for the product category using POST v2/businesses/{businessId}/size-tables/suggest. The selection can be specified by brand and gender.

    In response, you will receive:

    • suitable tables: Market tables (STANDARD) and the tables that you created (CUSTOM);
    • the identifier of the dimension characteristic of the category in the field result.sizeParameterId. You will need it to create your own table.
  2. To view the contents of the tables, get them by their IDs using POST v2/businesses/{businessId}/size-tables.

Create your own table

  1. Pass it on sizeParameterId in POST v2/businesses/{businessId}/size-tables/charts. The response will return the size grids and measurements that can be used in the table. For each of them there are:

    • identifier sizeChartId and the name;
    • a sign of commitment required. There must be at least one mandatory grid in the table.
    • reference list of values sizeValues if this is the standard size grid of the Market.
  2. Create a table using POST v2/businesses/{businessId}/size-tables/create. In each row, transfer one cell to the grid or measurement. The remaining requirements for the table are described in the method reference.

    For each created table, its ID will be returned in the response. sizeTableId.

  3. To change the table, pass its full contents to POST v2/businesses/{businessId}/size-tables/update. You can only change your tables: they have a response. POST v2/businesses/{businessId}/size-tables specified editable: true.

Specify the table and size in the product profile

  1. Get the product category characteristics using POST v2/category/{categoryId}/parameters. The categories with size tables in the list have:

    • size chart (id: 73979829);
    • the size grid in which the size of the product is specified (id: 73979830);
    • the size characteristic of the category. Its ID is the same as sizeParameterId.

    There is a value type and acceptable values for each characteristic in the response.

  2. Transmit the characteristics using POST v2/businesses/{businessId}/offer-cards/update:

    • in the description 73979829 specify the table ID in value;
    • in the description 73979830 specify sizeChartId the grid in which the size of the product is set, in value;
    • in the size description, specify the size of the product in this grid. For the standard Market grid, send to valueId the value from her reference book, sizeValueId from the response POST v2/businesses/{businessId}/size-tables/charts. For the rest of the grids, pass the size in text to value.

    Pass the grid and size together. The size must be in the selected grid of the table.

Which table will yandex.Market apply to the product?

Your table applies to the product only if it is specified in the specification. 73979829.

If the table in the card is not specified or the Market table is specified, the Market selects the table itself among its tables for the gender of the product. The gender is taken from the product description, and if it is not specified, the default gender for the category is used.

  1. If the product has a brand and there is a table for that brand, the brand table is selected. Otherwise, the standard one is selected.
  2. The one with the grid of characteristics is selected from the appropriate tables. 73979830. If this grid is present in several tables and one of them is indicated in the card, the specified one is applied. If there is no grid in any table, the default Market table is used.

The Market searches for the size of the product in the column of this grid: in the standard grid by the value of the directory, in the rest by the text. If the grid is not in the table or the size is not in the grid, an error will appear in the card.

If you change the table, the new content will be applied to all the products it is listed for. You do not need to transfer the goods again.

Также прочитайте инструкции