Page tree

Versions Compared

Key

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

...

Code Block
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<product xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://api.spreadshirt.net">
    <productType id="6"/>
    <appearance id="2"/>
    <restrictions>
        <freeColorSelection>false</freeColorSelection>
        <example>false</example>
    </restrictions>
    <configurations>
        <configuration type="design">
            <printArea id="4"/>
            <printType id="2"/>
            <offset unit="mm">
                <x>60.0</x>
                <y>70.0</y>
            </offset>
            <content dpi="25.4" unit="mm">
                <svg>
                    <image transform="" width="200.025" height="194.945" printColorIds="1" designId="m1294214-1"/>
                </svg>
            </content>
            <restrictions>
                <changeable>false</changeable>
            </restrictions>
        </configuration>
    </configurations>
</product>

You can find more product examples in the API Browser application.

Article

Field

Description

article

Represents a platform article. An article represents a product that is placed in a specific shop (marketplace) with a fixed price tag on it.

article/@weight

The weight of the article in a list. Used for sorting articles in a list.

article/name

The i18n name of the article in case of a marketplace article or the normal article name in case of a shop article.

article/description

The i18n description of the article in case of a marketplace article or the normal article description in case of a shop article.

article/tags

The i18n tags of the article in case of a marketplace article or the normal article tags in case of a shop article.

article/price

The article price in the currency of the shop.

article/shop

Reference to the shop to which this article belongs to.

article/product

Reference to the product on which this article is based. See Product for more details.

article/articleCategories

Reference to the article categories in which this article is placed.

article/articleCategories/articleCategory

 

article/resources

References to article resources (aka images). Use this links in case you want to display article images!

article/resources/resource

 

article/created

date when article was created

article/modified

date when article was last modified

...