Page tree

Versions Compared

Key

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

...

No Format
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<design xmlns:xlink="http://www.w3.org/1999/xlink"
        xmlns="http://api.spreadshirt.net"weight="0.0" 
        xlink:href="https://api.spreadshirt.net/api/v1/shops/205909/designs/m10004349-2" id="m10004349-2">
    <name>vikings</name>
    <description>vikings</description>
    <tags>vikings</tags>
    <user xlink:href="https://api.spreadshirt.net/api/v1/users/2343121" id="2343121"/>
    <restrictions>
        <fixedColors>false</fixedColors>
        <ownText>true</ownText>
        <colorCount>0</colorCount>
        <obligatory>false</obligatory>
        <movable>true</movable>
        <targetView>0</targetView>
        <minimumScale>70</minimumScale>
        <visible>true</visible>
        <inverted>false</inverted>
        <denyOtherText>no</denyOtherText>
        <denyOtherDesigns>no</denyOtherDesigns>
        <allowScale>false</allowScale>
        <allowFlip>false</allowFlip>
        <allowRotate>false</allowRotate>    </restrictions>
    <size unit="mm">
        <width>200.87166666667</width>
        <height>184.15</height>
    </size>
    <colors>
        <color>
            <default>#000000</default>
            <origin>#000000</origin>
            <resources>
                <resource xlink:href="https://image.spreadshirtmedia.net/image-server/v1/designs/10004349,colors[1]=none,colors[2]=none" type="montage" mediaType="png"/>
            </resources>
        </color>
        ...
    </colors>
    <printTypes>
        <printType xlink:href="https://api.spreadshirt.net/api/v1/shops/205909/printTypes/19" id="19"/>
        ...
    </printTypes>
    <designCategories>
        <designCategory id="1000186"/>
        ...
    </designCategories>
    <price>
        <vatExcluded>3.00</vatExcluded>
        <vatIncluded>3.00</vatIncluded>
        <vat>0</vat>
        <currency xlink:href="https://api.spreadshirt.net/api/v1/currencies/1" id="1"/>
    </price>
    <resources>
        <resource xlink:href="https://image.spreadshirtmedia.net/image-server/v1/designs/10004349,width=42,height=42" type="preview" mediaType="png"/>
        <resource xlink:href="https://image.spreadshirtmedia.net/image-server/v1/designs/10004349" type="montage" mediaType="png"/>
    </resources>
    <created>2010-06-07T19:15:11Z</created>
    <modified>2010-07-30T15:17:15Z</modified>
</design>

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

DesignCategory

Field

Description

designCategory

Represents a platform design category.

designCategory/@type

Represents the type of the design category. In shop context, you will find the following types:

  • MY_DESIGNS
  • UPLOADED - Uploaded designs for this shop. Needs to be configured for this shop (community mode).
  • MARKETPLACE - Type for marketplace categories. Marketplace categories are categories from our special marketplace shop (eu - 205909, na - 117728)
  • SHOP - Type for generic shop categories defined by Spreadshirt.
  • SHOP_CUSTOM - Type of custom shop specific categories created by Spreadshirt partner.
  • BESTSELLER - Type for a magic category that allows to retrieve an ordered list of all items of the parent's sub categories.
    In user context, the types will be:
  • MY_DESIGNS
  • OWN - Designs owned by the partner.
  • GRABBED - Designs grabbed by the partner.

designCategory/@weight

The weight of the category is used for sorting cartegories in the category tree.

designCategory/name

The i18n name of the category.

designCategory/designs

Reference to the list of designs linked to this category.

designCategory/designCategories

List of sub categories of this design category.

...