Changes for page Design Details

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

<
From version < 10.1 >
edited by Shop Team
on 2019/08/01 15:09
To version < 3.1 >
edited by Shop Team
on 2019/08/01 12:13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Designs
1 +Design
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  }
... ... @@ -80,7 +80,6 @@
80 80  
81 81  = Details about a design =
82 82  
83 -(% class="wrapped" %)
84 84  |=(((
85 85  Method
86 86  )))|=(((
... ... @@ -98,17 +98,6 @@
98 98  
99 99  \\
100 100  
101 -A design has the following characteristics:
102 -
103 -* Each design has a name, a description, a size.
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 -* **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 -[[image:attach:design-layer2.png]]
107 -\\
108 -* **Allowed Print Types:** For each design, we provide a list of print types, e.g. flock, flex or digital direct print, that can be used to print that design. Vector and pixel images are printed using different print types!
109 -
110 -\\
111 -
112 112  {{code language="js" title="Example Payload"}}
113 113  {
114 114   "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757",
... ... @@ -141,6 +141,18 @@
141 141   "id":"1"
142 142   },
143 143   ],
131 + "designCategories":[
132 +
133 + ],
134 + "price":{
135 + "vatExcluded":0.00,
136 + "vatIncluded":0.00,
137 + "vat":19.00,
138 + "currency":{
139 + "href":"https://api.spreadshirt.net/api/v1/currencies/1",
140 + "id":"1"
141 + }
142 + },
144 144   "resources":[
145 145   {
146 146   "mediaType":"png",
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -86999041
1 +28278861
url
... ... @@ -1,1 +1,1 @@
1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/86999041/Designs
1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/28278861/Design