Article
Create article
Endpoint
POST /admin/blogs/:blog_id/articles.xml
Parameters
Name | Description |
---|---|
article[title] required | article title |
article[content] required | article content |
article[notice] | notice for article |
article[published_at] required | publication date, the article is invisible to users while publication date > current time |
article[author] required | article author name |
article[permalink] | permalink on blog/* |
article[html_title] | html title tag content |
article[meta_keywords] | html meta words on page |
article[meta_description] | html meta description |
article[image_attributes] | image for article |
article[all_tags] | array of all tags for article, max 10 tags |
article[pinned] | set to true to pin article: it will be always on the top of the blog; only one article can be pinned, so when you pin article, previously pinned article will be unpinned |
Request
Route
POST /admin/blogs/1/articles.xml
Headers
Content-Type: application/xml
Authorization: Basic ZGlnaXRhbC1nb29kczpjNTFjOTA3MDdhMTNjZTNmZmYyMTNhZmJiNWNkMTI3MA==
Body
<?xml version="1.0" encoding="UTF-8"?>
<article>
<title>new article</title>
<content><p>content of my article<p></content>
<notice>some notice</notice>
<published-at>2014-09-09</published-at>
<author>My Name is panda</author>
<permalink>first_article</permalink>
<html-title>HTML TAG TITLE</html-title>
<meta-keywords>new cool products</meta-keywords>
<meta-description>It's a article about our new products</meta-description>
<image-attributes>
<src>https://abc.myinsales.ru/images/no_image_compact.jpg</src>
</image-attributes>
<all-tags type="array">
<all-tag>test3</all-tag>
<all-tag>test4</all-tag>
</all-tags>
<pinned type="boolean">true</pinned>
</article>
Response
Status
201
Headers
API-Usage-Limit: 1/500
Content-Type: application/xml; charset=utf-8
Body
<?xml version="1.0" encoding="UTF-8"?>
<article>
<id type="integer">5</id>
<created-at type="timestamp">2024-11-21 00:57:19 +0300</created-at>
<updated-at type="timestamp">2024-11-21 00:57:19 +0300</updated-at>
<custom-template nil="true"/>
<published-at type="timestamp">2014-09-09 00:00:00 +0400</published-at>
<pinned type="boolean">true</pinned>
<title>new article</title>
<author>My Name is panda</author>
<permalink>first_article</permalink>
<html-title>HTML TAG TITLE</html-title>
<meta-keywords>new cool products</meta-keywords>
<meta-description>It's a article about our new products</meta-description>
<image>
<id type="integer">2</id>
<created-at type="timestamp">2024-11-21 00:57:19 +0300</created-at>
<original-url>http://minio.insales.io:9000/insales-test-sber/images/articles/1/2/2/no_image_compact.jpg?1732139839</original-url>
</image>
<tags type="array">
<tag>
<title>test3</title>
</tag>
<tag>
<title>test4</title>
</tag>
</tags>
<related-products type="array"/>
<notice>some notice</notice>
<content><p>content of my article<p></content>
</article>
Delete article
Endpoint
DELETE /admin/blogs/:blog_id/articles/:article_id.xml
Request
Route
DELETE /admin/blogs/1/articles/2.xml
Headers
Authorization: Basic ZGlnaXRhbC1nb29kczpjNTFjOTA3MDdhMTNjZTNmZmYyMTNhZmJiNWNkMTI3MA==
Content-Type: application/x-www-form-urlencoded
Response
Get article
Endpoint
GET /admin/blogs/:blog_id/articles/:article_id.xml
Request
Route
GET /admin/blogs/1/articles/2.xml
Headers
Authorization: Basic ZGlnaXRhbC1nb29kczpjNTFjOTA3MDdhMTNjZTNmZmYyMTNhZmJiNWNkMTI3MA==
Response
Status
200
Headers
API-Usage-Limit: 1/500
Content-Type: application/xml; charset=utf-8
Body
<?xml version="1.0" encoding="UTF-8"?>
<article>
<id type="integer">2</id>
<created-at type="timestamp">2024-11-21 00:55:56 +0300</created-at>
<updated-at type="timestamp">2024-11-21 00:57:18 +0300</updated-at>
<custom-template nil="true"/>
<published-at type="timestamp">2017-03-01 07:53:15 +0300</published-at>
<pinned type="boolean">false</pinned>
<title>Второая Статья</title>
<author>Ivan</author>
<permalink>statya-2</permalink>
<html-title nil="true"/>
<meta-keywords nil="true"/>
<meta-description nil="true"/>
<image>
<id type="integer">1</id>
<created-at type="timestamp">2024-11-21 00:55:56 +0300</created-at>
<original-url>http://minio.insales.io:9000/insales-test-sber/images/articles/1/1/1/article_image_1.jpg</original-url>
</image>
<tags type="array">
<tag>
<title>test</title>
</tag>
<tag>
<title>test2</title>
</tag>
</tags>
<related-products type="array">
<related-product type="Product">
<id type="integer">1</id>
<category-id type="integer">1</category-id>
<created-at type="timestamp">2024-11-21 00:55:57 +0300</created-at>
<updated-at type="timestamp">2015-07-27 17:05:35 +0300</updated-at>
<is-hidden type="boolean">false</is-hidden>
<available type="boolean">false</available>
<archived type="boolean">false</archived>
<canonical-url-collection-id type="integer">1</canonical-url-collection-id>
<custom-template nil="true"/>
<unit>pce</unit>
<sort-weight type="float" nil="true"/>
<bundle type="boolean" nil="true"/>
<ignore-discounts type="boolean" nil="true"/>
<vat type="integer">-1</vat>
<dimensions>10x20x30</dimensions>
<fiscal-product-type type="integer">1</fiscal-product-type>
<title>Cool t-shirt</title>
<short-description>its a cool t-shirt</short-description>
<permalink>футболка</permalink>
<html-title nil="true"/>
<meta-keywords nil="true"/>
<meta-description nil="true"/>
<currency-code>LVL</currency-code>
<collections-ids type="array">
<collections-id type="integer">1</collections-id>
<collections-id type="integer">3</collections-id>
<collections-id type="integer">8</collections-id>
</collections-ids>
<sales-channels-id nil="true"/>
<images type="array"/>
<video-links type="array"/>
<option-names type="array">
<option-name>
<id type="integer">1</id>
<position type="integer">1</position>
<navigational type="boolean">true</navigational>
<title>Вариант</title>
</option-name>
</option-names>
<properties type="array">
<property>
<id type="integer">6</id>
<position type="integer">1</position>
<is-hidden type="boolean">true</is-hidden>
<is-navigational type="boolean">true</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>hidden</permalink>
<title>hidden</title>
</property>
<property>
<id type="integer">8</id>
<position type="integer">3</position>
<is-hidden type="boolean">false</is-hidden>
<is-navigational type="boolean">false</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>not_navigational</permalink>
<title>not_navigational</title>
</property>
<property>
<id type="integer">4</id>
<position type="integer">5</position>
<is-hidden type="boolean">false</is-hidden>
<is-navigational type="boolean">true</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>style</permalink>
<title>Style</title>
</property>
<property>
<id type="integer">3</id>
<position type="integer">6</position>
<is-hidden type="boolean">false</is-hidden>
<is-navigational type="boolean">true</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>vendor</permalink>
<title>Vendor</title>
</property>
</properties>
<characteristics type="array">
<characteristic>
<id type="integer">7</id>
<property-id type="integer">3</property-id>
<position type="integer">1</position>
<title>Nike</title>
<permalink>nike</permalink>
</characteristic>
<characteristic>
<id type="integer">9</id>
<property-id type="integer">4</property-id>
<position type="integer">1</position>
<title>Old</title>
<permalink>old</permalink>
</characteristic>
<characteristic>
<id type="integer">12</id>
<property-id type="integer">6</property-id>
<position type="integer">1</position>
<title>Hidden</title>
<permalink>Hidden</permalink>
</characteristic>
<characteristic>
<id type="integer">13</id>
<property-id type="integer">8</property-id>
<position type="integer">1</position>
<title>NotNavigational</title>
<permalink>NotNavigational</permalink>
</characteristic>
</characteristics>
<product-field-values type="array">
<product-field-value>
<id type="integer">1</id>
<product-field-id type="integer">1</product-field-id>
<value>some product field value</value>
</product-field-value>
</product-field-values>
<variants type="array">
<variant>
<variant-field-values type="array">
<variant-field-value>
<id type="integer">1</id>
<variant-field-id type="integer">1</variant-field-id>
<value>some variant field value</value>
</variant-field-value>
</variant-field-values>
<option-values type="array">
<option-value>
<id type="integer">1</id>
<option-name-id type="integer">1</option-name-id>
<position type="integer">1</position>
<title>Red</title>
<image-url nil="true"/>
</option-value>
</option-values>
<id type="integer">1</id>
<title>Red</title>
<product-id type="integer">1</product-id>
<sku>423</sku>
<barcode nil="true"/>
<dimensions>10x20x30</dimensions>
<available type="boolean">false</available>
<image-ids type="array"/>
<image-id type="integer" nil="true"/>
<weight type="decimal" nil="true"/>
<created-at type="timestamp">2009-03-18 10:53:14 +0300</created-at>
<updated-at type="timestamp">2009-03-18 10:53:14 +0300</updated-at>
<quantity type="integer">0</quantity>
<cost-price type="decimal">3.0</cost-price>
<cost-price-in-site-currency type="decimal">90.0</cost-price-in-site-currency>
<price-in-site-currency type="decimal">300.0</price-in-site-currency>
<base-price type="decimal">10.0</base-price>
<old-price type="decimal" nil="true"/>
<price2 type="decimal">12.0</price2>
<price type="decimal">10.0</price>
<base-price-in-site-currency type="decimal">300.0</base-price-in-site-currency>
<old-price-in-site-currency type="decimal" nil="true"/>
<price2-in-site-currency type="decimal">360.0</price2-in-site-currency>
<prices type="array">
<price type="numeric">12.0</price>
</prices>
<prices-in-site-currency type="array">
<price-in-site-currency type="numeric">360.0</price-in-site-currency>
</prices-in-site-currency>
</variant>
</variants>
<product-bundle-components type="array"/>
<description>guys, its a really cool t-shirt</description>
</related-product>
</related-products>
<notice>Второй анонс</notice>
<content>Привет</content>
</article>
Get articles list
Endpoint
GET /admin/blogs/:blog_id/articles.xml
Request
Route
GET /admin/blogs/1/articles.xml
Headers
Authorization: Basic ZGlnaXRhbC1nb29kczpjNTFjOTA3MDdhMTNjZTNmZmYyMTNhZmJiNWNkMTI3MA==
Response
Status
200
Headers
API-Usage-Limit: 1/500
Content-Type: application/xml; charset=utf-8
Body
<?xml version="1.0" encoding="UTF-8"?>
<articles type="array">
<article>
<id type="integer">2</id>
<created-at type="timestamp">2024-11-21 00:55:56 +0300</created-at>
<updated-at type="timestamp">2024-11-21 00:57:18 +0300</updated-at>
<custom-template nil="true"/>
<published-at type="timestamp">2017-03-01 07:53:15 +0300</published-at>
<pinned type="boolean">false</pinned>
<title>Второая Статья</title>
<author>Ivan</author>
<permalink>statya-2</permalink>
<html-title nil="true"/>
<meta-keywords nil="true"/>
<meta-description nil="true"/>
<image>
<id type="integer">1</id>
<created-at type="timestamp">2024-11-21 00:55:56 +0300</created-at>
<original-url>http://minio.insales.io:9000/insales-test-sber/images/articles/1/1/1/article_image_1.jpg</original-url>
</image>
<tags type="array">
<tag>
<title>test</title>
</tag>
<tag>
<title>test2</title>
</tag>
</tags>
<related-products type="array">
<related-product type="Product">
<id type="integer">1</id>
<category-id type="integer">1</category-id>
<created-at type="timestamp">2024-11-21 00:55:57 +0300</created-at>
<updated-at type="timestamp">2015-07-27 17:05:35 +0300</updated-at>
<is-hidden type="boolean">false</is-hidden>
<available type="boolean">false</available>
<archived type="boolean">false</archived>
<canonical-url-collection-id type="integer">1</canonical-url-collection-id>
<custom-template nil="true"/>
<unit>pce</unit>
<sort-weight type="float" nil="true"/>
<bundle type="boolean" nil="true"/>
<ignore-discounts type="boolean" nil="true"/>
<vat type="integer">-1</vat>
<dimensions>10x20x30</dimensions>
<fiscal-product-type type="integer">1</fiscal-product-type>
<title>Cool t-shirt</title>
<short-description>its a cool t-shirt</short-description>
<permalink>футболка</permalink>
<html-title nil="true"/>
<meta-keywords nil="true"/>
<meta-description nil="true"/>
<currency-code>LVL</currency-code>
<collections-ids type="array">
<collections-id type="integer">1</collections-id>
<collections-id type="integer">3</collections-id>
<collections-id type="integer">8</collections-id>
</collections-ids>
<sales-channels-id nil="true"/>
<images type="array"/>
<video-links type="array"/>
<option-names type="array">
<option-name>
<id type="integer">1</id>
<position type="integer">1</position>
<navigational type="boolean">true</navigational>
<title>Вариант</title>
</option-name>
</option-names>
<properties type="array">
<property>
<id type="integer">6</id>
<position type="integer">1</position>
<is-hidden type="boolean">true</is-hidden>
<is-navigational type="boolean">true</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>hidden</permalink>
<title>hidden</title>
</property>
<property>
<id type="integer">8</id>
<position type="integer">3</position>
<is-hidden type="boolean">false</is-hidden>
<is-navigational type="boolean">false</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>not_navigational</permalink>
<title>not_navigational</title>
</property>
<property>
<id type="integer">4</id>
<position type="integer">5</position>
<is-hidden type="boolean">false</is-hidden>
<is-navigational type="boolean">true</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>style</permalink>
<title>Style</title>
</property>
<property>
<id type="integer">3</id>
<position type="integer">6</position>
<is-hidden type="boolean">false</is-hidden>
<is-navigational type="boolean">true</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>vendor</permalink>
<title>Vendor</title>
</property>
</properties>
<characteristics type="array">
<characteristic>
<id type="integer">7</id>
<property-id type="integer">3</property-id>
<position type="integer">1</position>
<title>Nike</title>
<permalink>nike</permalink>
</characteristic>
<characteristic>
<id type="integer">9</id>
<property-id type="integer">4</property-id>
<position type="integer">1</position>
<title>Old</title>
<permalink>old</permalink>
</characteristic>
<characteristic>
<id type="integer">12</id>
<property-id type="integer">6</property-id>
<position type="integer">1</position>
<title>Hidden</title>
<permalink>Hidden</permalink>
</characteristic>
<characteristic>
<id type="integer">13</id>
<property-id type="integer">8</property-id>
<position type="integer">1</position>
<title>NotNavigational</title>
<permalink>NotNavigational</permalink>
</characteristic>
</characteristics>
<product-field-values type="array">
<product-field-value>
<id type="integer">1</id>
<product-field-id type="integer">1</product-field-id>
<value>some product field value</value>
</product-field-value>
</product-field-values>
<variants type="array">
<variant>
<variant-field-values type="array">
<variant-field-value>
<id type="integer">1</id>
<variant-field-id type="integer">1</variant-field-id>
<value>some variant field value</value>
</variant-field-value>
</variant-field-values>
<option-values type="array">
<option-value>
<id type="integer">1</id>
<option-name-id type="integer">1</option-name-id>
<position type="integer">1</position>
<title>Red</title>
<image-url nil="true"/>
</option-value>
</option-values>
<id type="integer">1</id>
<title>Red</title>
<product-id type="integer">1</product-id>
<sku>423</sku>
<barcode nil="true"/>
<dimensions>10x20x30</dimensions>
<available type="boolean">false</available>
<image-ids type="array"/>
<image-id type="integer" nil="true"/>
<weight type="decimal" nil="true"/>
<created-at type="timestamp">2009-03-18 10:53:14 +0300</created-at>
<updated-at type="timestamp">2009-03-18 10:53:14 +0300</updated-at>
<quantity type="integer">0</quantity>
<cost-price type="decimal">3.0</cost-price>
<cost-price-in-site-currency type="decimal">90.0</cost-price-in-site-currency>
<price-in-site-currency type="decimal">300.0</price-in-site-currency>
<base-price type="decimal">10.0</base-price>
<old-price type="decimal" nil="true"/>
<price2 type="decimal">12.0</price2>
<price type="decimal">10.0</price>
<base-price-in-site-currency type="decimal">300.0</base-price-in-site-currency>
<old-price-in-site-currency type="decimal" nil="true"/>
<price2-in-site-currency type="decimal">360.0</price2-in-site-currency>
<prices type="array">
<price type="numeric">12.0</price>
</prices>
<prices-in-site-currency type="array">
<price-in-site-currency type="numeric">360.0</price-in-site-currency>
</prices-in-site-currency>
</variant>
</variants>
<product-bundle-components type="array"/>
<description>guys, its a really cool t-shirt</description>
</related-product>
</related-products>
<notice>Второй анонс</notice>
<content>Привет</content>
</article>
<article>
<id type="integer">1</id>
<created-at type="timestamp">2024-11-21 00:55:56 +0300</created-at>
<updated-at type="timestamp">2024-11-21 00:55:56 +0300</updated-at>
<custom-template nil="true"/>
<published-at type="timestamp">2009-03-18 07:53:15 +0300</published-at>
<pinned type="boolean">false</pinned>
<title>Статья</title>
<author>Ivan</author>
<permalink>statya</permalink>
<html-title nil="true"/>
<meta-keywords nil="true"/>
<meta-description nil="true"/>
<tags type="array"/>
<related-products type="array"/>
<notice>Первый анонс</notice>
<content>Первая статья</content>
</article>
</articles>
Update article
Endpoint
PUT /admin/blogs/:blog_id/articles/:article_id.xml
Parameters
Name | Description |
---|---|
article[title] | article title |
article[content] | article content |
article[notice] | notice for article |
article[author] | article author name |
article[permalink] | permalink on blog/* |
article[html_title] | html title tag content |
article[meta_keywords] | html meta words on page |
article[meta_description] | html meta description |
article[published_at] | publication date, the article is invisible to users while publication date > current time |
article[image_attributes] | image for article |
article[all_tags] | array of tags for article, max 10 tags: to remove tags from list - pass the array without this tag, to add tag - pass a full list with a new tag added |
article[pinned] | set to true to pin article: it will be always on the top of the blog; only one article can be pinned, so when you pin article, previously pinned article will be unpinned |
Request
Route
PUT /admin/blogs/1/articles/2.xml
Headers
Content-Type: application/xml
Authorization: Basic ZGlnaXRhbC1nb29kczpjNTFjOTA3MDdhMTNjZTNmZmYyMTNhZmJiNWNkMTI3MA==
Body
<?xml version="1.0" encoding="UTF-8"?>
<article>
<title>new title</title>
<image-attributes>
<src>https://abc.myinsales.ru/images/no_image_compact.jpg</src>
</image-attributes>
<all-tags type="array">
<all-tag>test</all-tag>
<all-tag>test3</all-tag>
</all-tags>
<pinned type="boolean">true</pinned>
</article>
Response
Status
200
Headers
API-Usage-Limit: 1/500
Content-Type: application/xml; charset=utf-8
Body
<?xml version="1.0" encoding="UTF-8"?>
<article>
<pinned type="boolean">true</pinned>
<id type="integer">2</id>
<created-at type="timestamp">2024-11-21 00:55:56 +0300</created-at>
<updated-at type="timestamp">2024-11-21 00:57:20 +0300</updated-at>
<custom-template nil="true"/>
<published-at type="timestamp">2017-03-01 07:53:15 +0300</published-at>
<title>new title</title>
<author>Ivan</author>
<permalink>statya-2</permalink>
<html-title nil="true"/>
<meta-keywords nil="true"/>
<meta-description nil="true"/>
<image>
<id type="integer">4</id>
<created-at type="timestamp">2024-11-21 00:57:20 +0300</created-at>
<original-url>http://minio.insales.io:9000/insales-test-sber/images/articles/1/4/4/no_image_compact.jpg?1732139840</original-url>
</image>
<tags type="array">
<tag>
<title>test</title>
</tag>
<tag>
<title>test3</title>
</tag>
</tags>
<related-products type="array">
<related-product type="Product">
<id type="integer">1</id>
<category-id type="integer">1</category-id>
<created-at type="timestamp">2024-11-21 00:55:57 +0300</created-at>
<updated-at type="timestamp">2015-07-27 17:05:35 +0300</updated-at>
<is-hidden type="boolean">false</is-hidden>
<available type="boolean">false</available>
<archived type="boolean">false</archived>
<canonical-url-collection-id type="integer">1</canonical-url-collection-id>
<custom-template nil="true"/>
<unit>pce</unit>
<sort-weight type="float" nil="true"/>
<bundle type="boolean" nil="true"/>
<ignore-discounts type="boolean" nil="true"/>
<vat type="integer">-1</vat>
<dimensions>10x20x30</dimensions>
<fiscal-product-type type="integer">1</fiscal-product-type>
<title>Cool t-shirt</title>
<short-description>its a cool t-shirt</short-description>
<permalink>футболка</permalink>
<html-title nil="true"/>
<meta-keywords nil="true"/>
<meta-description nil="true"/>
<currency-code>LVL</currency-code>
<collections-ids type="array">
<collections-id type="integer">1</collections-id>
<collections-id type="integer">3</collections-id>
<collections-id type="integer">8</collections-id>
</collections-ids>
<sales-channels-id nil="true"/>
<images type="array"/>
<video-links type="array"/>
<option-names type="array">
<option-name>
<id type="integer">1</id>
<position type="integer">1</position>
<navigational type="boolean">true</navigational>
<title>Вариант</title>
</option-name>
</option-names>
<properties type="array">
<property>
<id type="integer">6</id>
<position type="integer">1</position>
<is-hidden type="boolean">true</is-hidden>
<is-navigational type="boolean">true</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>hidden</permalink>
<title>hidden</title>
</property>
<property>
<id type="integer">8</id>
<position type="integer">3</position>
<is-hidden type="boolean">false</is-hidden>
<is-navigational type="boolean">false</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>not_navigational</permalink>
<title>not_navigational</title>
</property>
<property>
<id type="integer">4</id>
<position type="integer">5</position>
<is-hidden type="boolean">false</is-hidden>
<is-navigational type="boolean">true</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>style</permalink>
<title>Style</title>
</property>
<property>
<id type="integer">3</id>
<position type="integer">6</position>
<is-hidden type="boolean">false</is-hidden>
<is-navigational type="boolean">true</is-navigational>
<backoffice type="boolean">false</backoffice>
<permalink>vendor</permalink>
<title>Vendor</title>
</property>
</properties>
<characteristics type="array">
<characteristic>
<id type="integer">7</id>
<property-id type="integer">3</property-id>
<position type="integer">1</position>
<title>Nike</title>
<permalink>nike</permalink>
</characteristic>
<characteristic>
<id type="integer">9</id>
<property-id type="integer">4</property-id>
<position type="integer">1</position>
<title>Old</title>
<permalink>old</permalink>
</characteristic>
<characteristic>
<id type="integer">12</id>
<property-id type="integer">6</property-id>
<position type="integer">1</position>
<title>Hidden</title>
<permalink>Hidden</permalink>
</characteristic>
<characteristic>
<id type="integer">13</id>
<property-id type="integer">8</property-id>
<position type="integer">1</position>
<title>NotNavigational</title>
<permalink>NotNavigational</permalink>
</characteristic>
</characteristics>
<product-field-values type="array">
<product-field-value>
<id type="integer">1</id>
<product-field-id type="integer">1</product-field-id>
<value>some product field value</value>
</product-field-value>
</product-field-values>
<variants type="array">
<variant>
<variant-field-values type="array">
<variant-field-value>
<id type="integer">1</id>
<variant-field-id type="integer">1</variant-field-id>
<value>some variant field value</value>
</variant-field-value>
</variant-field-values>
<option-values type="array">
<option-value>
<id type="integer">1</id>
<option-name-id type="integer">1</option-name-id>
<position type="integer">1</position>
<title>Red</title>
<image-url nil="true"/>
</option-value>
</option-values>
<id type="integer">1</id>
<title>Red</title>
<product-id type="integer">1</product-id>
<sku>423</sku>
<barcode nil="true"/>
<dimensions>10x20x30</dimensions>
<available type="boolean">false</available>
<image-ids type="array"/>
<image-id type="integer" nil="true"/>
<weight type="decimal" nil="true"/>
<created-at type="timestamp">2009-03-18 10:53:14 +0300</created-at>
<updated-at type="timestamp">2009-03-18 10:53:14 +0300</updated-at>
<quantity type="integer">0</quantity>
<cost-price type="decimal">3.0</cost-price>
<cost-price-in-site-currency type="decimal">90.0</cost-price-in-site-currency>
<price-in-site-currency type="decimal">300.0</price-in-site-currency>
<base-price type="decimal">10.0</base-price>
<old-price type="decimal" nil="true"/>
<price2 type="decimal">12.0</price2>
<price type="decimal">10.0</price>
<base-price-in-site-currency type="decimal">300.0</base-price-in-site-currency>
<old-price-in-site-currency type="decimal" nil="true"/>
<price2-in-site-currency type="decimal">360.0</price2-in-site-currency>
<prices type="array">
<price type="numeric">12.0</price>
</prices>
<prices-in-site-currency type="array">
<price-in-site-currency type="numeric">360.0</price-in-site-currency>
</prices-in-site-currency>
</variant>
</variants>
<product-bundle-components type="array"/>
<description>guys, its a really cool t-shirt</description>
</related-product>
</related-products>
<notice>Второй анонс</notice>
<content>Привет</content>
</article>