Changes for page Design Details
Last modified by Shop Team on 2023/02/13 22:56
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
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 a customer or partner can use to put it on a product type. 2 - 3 3 = List of all designs in the shop = 4 4 5 5 (% class="wrapped" %) ... ... @@ -22,6 +22,8 @@ 22 22 23 23 {{code language="js" title="Example Payload"}} 24 24 { 23 + "sortField":"default", 24 + "sortOrder":"default", 25 25 "offset":0, 26 26 "limit":10, 27 27 "count":2, ... ... @@ -30,6 +30,15 @@ 30 30 "id":"163261757", 31 31 "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757", 32 32 "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 + }, 33 33 "backgroundColor":"#666666", 34 34 "resources":[ 35 35 { ... ... @@ -38,11 +38,21 @@ 38 38 "type":"preview" 39 39 } 40 40 ], 50 + "version":1562573036 41 41 }, 42 42 { 43 43 "id":"163261722", 44 44 "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261722", 45 45 "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 + }, 46 46 "resources":[ 47 47 { 48 48 "href":"https://image.spreadshirtmedia.net/image-server/v1/designs/163261722", ... ... @@ -50,6 +50,7 @@ 50 50 "type":"preview" 51 51 } 52 52 ], 72 + "version":1562573036 53 53 }, 54 54 ] 55 55 } ... ... @@ -59,7 +59,6 @@ 59 59 60 60 = Details about a design = 61 61 62 -(% class="wrapped" %) 63 63 |=((( 64 64 Method 65 65 )))|=((( ... ... @@ -77,17 +77,6 @@ 77 77 78 78 \\ 79 79 80 -A design has the following characteristics: 81 - 82 -* 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. 83 -* **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. 84 -* **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: 85 -[[image:attach:design-layer2.png]] 86 -\\ 87 -* **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! 88 - 89 -\\ 90 - 91 91 {{code language="js" title="Example Payload"}} 92 92 { 93 93 "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757",
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -28278 9031 +28278861 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/28278 903/Design1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/28278861/Design