Changes for page Design Details

Last modified by Shop Team on 2023/02/13 22:56

<
From version < 9.1 >
edited by Shop Team
on 2019/08/01 14:44
To version < 4.1 >
edited by Shop Team
on 2019/08/01 12:20
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +3,3 @@
1 -In our terminology, a design represents a pixel (png, jpg, gif) or vector image (svg) that you uploaded in the Partner Area.
2 -
3 3  = List of all designs in the shop =
4 4  
5 5  (% class="wrapped" %)
... ... @@ -18,31 +18,12 @@
18 18  [[https:~~/~~/api.spreadshirt.net/api/v1/shops/100488332/designs?mediaType=json>>url:https://api.spreadshirt.net/api/v1/shops/100488332/designs?mediaType=json||shape="rect"]]
19 19  )))
20 20  
21 -(% class="auto-cursor-target" %)
22 22  \\
23 23  
24 -|=(((
25 -Query Paramete
26 -)))|=(((
27 -Description
28 -)))
29 -|(((
30 -limit
31 -)))|(((
32 -Between 1 and 1000. Determines the maximum number of results per request.
33 -)))
34 -|(((
35 -offset
36 -)))|(((
37 -Allows pagination.
38 -)))
39 -
40 -\\
41 -
42 -\\
43 -
44 44  {{code language="js" title="Example Payload"}}
45 45  {
23 + "sortField":"default",
24 + "sortOrder":"default",
46 46   "offset":0,
47 47   "limit":10,
48 48   "count":2,
... ... @@ -51,6 +51,15 @@
51 51   "id":"163261757",
52 52   "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757",
53 53   "name":"I love you",
33 + "price":{
34 + "vatIncluded":0.0,
35 + "vatExcluded":0.0,
36 + "vat":0.0,
37 + "currency":{
38 + "id":"1",
39 + "href":"https://api.spreadshirt.net/api/v1/currencies/1"
40 + }
41 + },
54 54   "backgroundColor":"#666666",
55 55   "resources":[
56 56   {
... ... @@ -59,11 +59,21 @@
59 59   "type":"preview"
60 60   }
61 61   ],
50 + "version":1562573036
62 62   },
63 63   {
64 64   "id":"163261722",
65 65   "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261722",
66 66   "name":"pinguine",
56 + "price":{
57 + "vatIncluded":0.0,
58 + "vatExcluded":0.0,
59 + "vat":0.0,
60 + "currency":{
61 + "id":"1",
62 + "href":"https://api.spreadshirt.net/api/v1/currencies/1"
63 + }
64 + },
67 67   "resources":[
68 68   {
69 69   "href":"https://image.spreadshirtmedia.net/image-server/v1/designs/163261722",
... ... @@ -71,6 +71,7 @@
71 71   "type":"preview"
72 72   }
73 73   ],
72 + "version":1562573036
74 74   },
75 75   ]
76 76  }
... ... @@ -98,9 +98,9 @@
98 98  
99 99  \\
100 100  
101 -A design has the following characteristics:
100 +In our terminology, a design represents a pixel (png, jpg, gif) or vector image (svg) that a customer or partner can use to put it on a product type. A typical design, e.g. the "I Heart" design from the Spreadshirt marketplace, is illustrated in the picture above. A design has the following characteristics:
102 102  
103 -* Each design has a name, a description, a size.
102 +* Each design has a name, a description, a size and a price. The price is in this case the commission that the owner of the design earns for each usage.
104 104  * **Images:** To retrieve a design image, you can use a URL similar to the following one: [[https:~~/~~/image.spreadshirtmedia.net/image-server/v1/designs/2484607>>url:https://image.spreadshirtmedia.net/image-server/v1/designs/2484607||shape="rect"]]. These URLs are provided within the resources part of the design payload.
105 105  * **Color Layers:** Vector designs consist of one or more color layers. We provide for each color layer, the original color of the uploaded design as well as the color set by the owner as actual default color. Example:
106 106  [[image:attach:design-layer2.png]]
... ... @@ -141,6 +141,18 @@
141 141   "id":"1"
142 142   },
143 143   ],
143 + "designCategories":[
144 +
145 + ],
146 + "price":{
147 + "vatExcluded":0.00,
148 + "vatIncluded":0.00,
149 + "vat":19.00,
150 + "currency":{
151 + "href":"https://api.spreadshirt.net/api/v1/currencies/1",
152 + "id":"1"
153 + }
154 + },
144 144   "resources":[
145 145   {
146 146   "mediaType":"png",
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -28278911
1 +28278862
url
... ... @@ -1,1 +1,1 @@
1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/28278911/Design
1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/28278862/Design