Skip to main content

SKU data object

Description

SKU data object used in SKU import requests.

ParameterTypeExampleRequiredDescription
namestring"Canon EOS 90D Body"YesSKU's name.
external_idstring"12345678"YesSKU ID that is used when adding an item to an order.
pricestring"510"NoCurrent price of the SKU.
old_pricestring"600"NoOld price of the SKU.
currencystring"USD"NoThe currency that is used when specifying the SKU price.

Currencies are configured in the platform interface:
MarketSettingsOther.

If the request passes a currency that is not set in the platform, an error will occur.
tagsarray
[
"camera",
"Canon"
]
NoList of tags.
manufacturer_namestring"Canon"NoManufacturer's name.
descriptionstring"test description"NoSKU description.
The length of the text is no more than 1000 characters.
product_external_idstring"12345"YesThe ID of the product to which the SKU is linked.
Must be the same for all SKUs of the same product.
urlstring"https://example.com"NoURL of the SKU page on the store site.
picturesarray
[
"https://example_1.com",
"https://example_2.com"
]
NoList of URL links to the SKU images.
countint10NoThe number of SKU available for sale.
expiration_timestring"730"NoShelf life or service life (in days).
is_availablebooltrueNoWhether the SKU is in stock or not.
deliveryboolfalseNoPossibility of courier delivery (for all regions to which the store delivers).
barcodearray
[
5235235,
347347,
335578769
]
NoList of SKU barcodes from the manufacturer.
manufacturer_warrantybooltrueNoManufacturer's official warranty.
custom_fieldsobject
{
"color": "black",
"weight": 730,
"dimensions": "105*139*79"
}
NoCustom SKU fields.
Learn more
regional_dataarray
[
{
"external_id": "region_YnCrJj8Y1",
"price": "36000",
"old_price": "38500",
"currency": "RUB",
"custom_fields":{
"color": "black",
"weight": 701
},
"count": 10,
"is_available": true,
"delivery": true
}
]
NoSKU data that varies by region.

external_idis the region ID. You can create a region and get its ID in the platform interface: MarketSettings.
categoriesarray
[
"category_1",
"category_2"
]
NoSKU category ID.
Learn more

JSON

[
{
"name": "iPhone",
"external_id": "12345",
"price": "235",
"old_price": "400",
"currency": "USD",
"description": "",
"product_external_id": "12345678",
"categories": ["1234", "12345"],
"tags": ["one", "two"],
"manufacturer_name": "Apple",
"url": "https://example.com",
"pictures": ["https://example.com", "https://example.com"],
"count": 50,
"expiration_time": "730",
"is_available": true,
"delivery": true,
"barcode": [23346346, 23546362, 76834566],
"manufacturer_warranty": true,
"custom_fields": {
"sku_custom_field_1": 123,
"sku_custom_field_2": "data"
},
"regional_data": [
{
"external_id": "region_YnCrJj8Y1",
"price": "864825",
"old_price": "400",
"currency": "USD",
"custom_fields": {
"sku_custom_field_1": 123,
"sku_custom_field_2": "data"
},
"count": 30,
"is_available": true,
"delivery": true
}
]
}
]