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,3 +1,5 @@ 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 + 1 1 = List of all designs in the shop = 2 2 3 3 (% class="wrapped" %) ... ... @@ -18,10 +18,8 @@ 18 18 19 19 \\ 20 20 21 -{{code language="js" title="Example Payload"}} 23 +{{code language="js" title="Example Payload" collapse="true"}} 22 22 { 23 - "sortField":"default", 24 - "sortOrder":"default", 25 25 "offset":0, 26 26 "limit":10, 27 27 "count":2, ... ... @@ -30,15 +30,6 @@ 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 - }, 42 42 "backgroundColor":"#666666", 43 43 "resources":[ 44 44 { ... ... @@ -47,21 +47,11 @@ 47 47 "type":"preview" 48 48 } 49 49 ], 50 - "version":1562573036 51 51 }, 52 52 { 53 53 "id":"163261722", 54 54 "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261722", 55 55 "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 - }, 65 65 "resources":[ 66 66 { 67 67 "href":"https://image.spreadshirtmedia.net/image-server/v1/designs/163261722", ... ... @@ -69,7 +69,6 @@ 69 69 "type":"preview" 70 70 } 71 71 ], 72 - "version":1562573036 73 73 }, 74 74 ] 75 75 } ... ... @@ -97,7 +97,7 @@ 97 97 98 98 \\ 99 99 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.Atypicaldesign,e.g. the "I Heart" designfromtheSpreadshirt marketplace, is illustrated in the picture above. A design has thefollowing characteristics:80 +A design has the following characteristics: 101 101 102 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. 103 103 * **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. ... ... @@ -108,7 +108,7 @@ 108 108 109 109 \\ 110 110 111 -{{code language="js" title="Example Payload"}} 91 +{{code language="js" title="Example Payload" collapse="true"}} 112 112 { 113 113 "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757", 114 114 "id":"163261757",
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -2827886 21 +28278868 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/2827886 2/Design1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/28278868/Design