Release 2012 F (coming soon)

Version 1 by Martin Breest
on Aug 03, 2012 09:01.

compared with
Version 2 by Martin Breest
on Aug 09, 2012 07:28.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (5)

View Page History
{code}

h2. Add sourceArticleId article as supported input parameter for products as basket item elements

{code}
{code}

h2. Add shipping costs to basket
h2.
{code}
<basket ...>

<basketItem ...>
<shop id="205909" xlink:href="http://api.spreadshirt.net/v1/shops/205909">
<description>Basket Item description</description>
<quantity>2</quantity>
<element id="123" type="sprd:product" xlink:href="http://api.spreadshirt.net/v1/shops/205909/products/123">
<properties>
<property key="appearance">15</property>
<property key="size">12</property>
</properties>
</element>
<links>
<link type="edit" xlink:href="http://www.yourdomain.de/product/123/edit"/>
<link type="continueShopping" xlink:href="http://www.yourdomain.de"/>
</links>
<price>
<currency id="1" xlink:href="http://api.spreadshirt.net/v1/currencies/1"/>
<vatIncluded>10.0</vatIncluded>
<vatExcluded>9.8</vatExcluded>
<vat>0.2</vat>
</price>
</basketItem>

<!-- new -->
<shipping>
<shippingType id="1"/>
<shippingCountry id="1"/>
<price>
<currency id="1" xlink:href="http://api.spreadshirt.net/v1/currencies/1"/>
<vatIncluded>10.0</vatIncluded>
<vatExcluded>9.8</vatExcluded>
<vat>0.2</vat>
</price>
</shipping>
<!-- new -->
...
</basket>
{code}