Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
    "token": "abcdefghijklmnqrstuvwxyz",
    "custom_fields": [
        {
          "external_id": "test_field_string",
          "name": "Строковое поле",
          "entity_type": "sku",
          "required": false,
          "value_type": "unicode",
          "default_value": "Значение тестового поля sku по умолчанию"
        }
      ],
      "categories": [
        {
          "external_id": "test_category_2",
          "name": "Тестовая категория 2"
        }
      ],
    "data": [
      {
        "name": "Apple iPhone 13 256GB",
        "external_id": "sku_test_1",
        "price": "1000",
        "old_price": "1100",
        "currency": "USD",
        "description":"Описание SKU",
        "product_external_id": "iphone_test_1",
        "categories": [
          "test_category_2"
        ],
        "tags": [
          "phone",
          "Apple"
        ],
        "manufacturer_name": "Apple",
        "url": "https://example.com",
        "pictures": [
          "https://example.com",
          "https://example.com"
        ],
        "count": 10,
        "expiration_time": "730",
        "is_available": true,
        "delivery": true,
        "barcode": [
          23346346,
          23546362,
          76834566
        ],
        "manufacturer_warranty": true,
        "custom_fields": {
          "test_field_string": "Тестовое поле",
          "test_field_int": 300
        },
        "regional_data": [
          {
            "external_id": "region_YnCrJj8Y1", 
            "price": "75000",
            "old_price": "80000",  
            "currency": "RUB",
            "custom_fields": {
                "test_field_string": "Тестовое поле",
                "test_field_int": 400
            },
            "count": 8,
            "is_available": true,
            "delivery": true
          }
        ]
      }
    ]
  }

...