Changes for page Sellables

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

<
From version < 13.1 >
edited by Shop Team
on 2019/08/30 07:33
To version < 17.2 >
edited by Shop Team
on 2023/02/13 22:56
>
Change comment: Updated the relative links.

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +API REST Resources
Content
... ... @@ -27,7 +27,6 @@
27 27  (% style="color: rgb(80,80,80);" %)[[https:~~/~~/api.spreadshirt.net/api/v1/shops/100488332/sellables?page=0>>url:https://api.spreadshirt.net/api/v1/shops/100488332/sellables?page=0||shape="rect"]]
28 28  )))
29 29  
30 -
31 31  Returns a paginated list of the shop's sellables in a format like this:
32 32  
33 33  {{code language="js" title="Response Payload"}}
... ... @@ -102,7 +102,7 @@
102 102  
103 103  (% class="wrapped" %)
104 104  |=(((
105 -Fiel
104 +Field
106 106  )))|=(((
107 107  Description
108 108  )))
... ... @@ -121,17 +121,17 @@
121 121  (% class="objectBox objectBox-string" %)mainDesignId
122 122  )))|(% colspan="1" %)(% colspan="1" %)
123 123  (((
124 -Identifies the main image/design which is used for this Idea (usually the first design you add in the Partner Area). Can be used if you want to useĀ  the [[Designs Resource>>doc:Designs]] in combination with this resource.
123 +Identifies the main image/design which is used for this Idea (usually the first design you add in the Partner Area). Can be used if you want to useĀ  the [[Designs Resource>>doc:API.Spreadshirt Public Shop API Documentation.API REST Resources.Design Details.WebHome]] in combination with this resource.
125 125  )))
126 126  |(((
127 127  productTypeId
128 128  )))|(((
129 -Identifies the 'type of garment' used. Can be used to lookup additional meta data from the product type resources described [[here>>doc:ProductType]].
128 +Identifies the 'type of garment' used. Can be used to lookup additional meta data from the product type resources described [[here>>doc:API.Spreadshirt Public Shop API Documentation.API REST Resources.ProductType.WebHome]].
130 130  )))
131 131  |(((
132 132  price
133 133  )))|(((
134 -Always in the currency of the shop. Check [[this>>doc:Price Formatting Guide]] for hints on how to format the price in a user-friendly way.
133 +Always in the currency of the shop. Check [[this>>doc:API.Price Formatting Guide]] for hints on how to format the price in a user-friendly way.
135 135  )))
136 136  |(((
137 137  name
... ... @@ -168,7 +168,7 @@
168 168  appearanceIds
169 169  )))|(% colspan="1" %)(% colspan="1" %)
170 170  (((
171 -The 'colors' a sellable currently has available for purchase. If you need more information on the colors, the product type resource [[here>>doc:ProductType]] is useful.
170 +The 'colors' a sellable currently has available for purchase. If you need more information on the colors, the product type resource [[here>>doc:API.Spreadshirt Public Shop API Documentation.API REST Resources.ProductType.WebHome]] is useful.
172 172  )))
173 173  |(% colspan="1" %)(% colspan="1" %)
174 174  (((
... ... @@ -178,6 +178,7 @@
178 178  The default 'color' you can set in the Partner Area. This is the color the previewImage is in. It also provides a good starting point when linking to a detail page.
179 179  )))
180 180  
180 +Please note that this resource returns a maximum of 9504 sellables or 198 full pages. The page parameter must thus always be between 0 and 197 (inclusively).
181 181  
182 182  Implementation remarks: For advanced implementations, it is usually best to import the content of the sellable list into your own data base in regular intervals (for example once every 24h).
183 183  This allows you to implement a custom navigation structure, filters, etc. according to your needs.
... ... @@ -308,7 +308,7 @@
308 308  
309 309  (% class="wrapped" %)
310 310  |=(((
311 -Field name
311 +Field
312 312  )))|=(((
313 313  Meaning
314 314  )))
... ... @@ -315,7 +315,7 @@
315 315  |(((
316 316  sizeIds
317 317  )))|(((
318 -Describes the sizes available for purchase for the sellable in this appearance. For more information on sizes, check the product type resource [[here>>doc:ProductType]].
318 +Describes the sizes available for purchase for the sellable in this appearance. For more information on sizes, check the product type resource [[here>>doc:API.Spreadshirt Public Shop API Documentation.API REST Resources.ProductType.WebHome]].
319 319  )))
320 320  |(((
321 321  images
... ... @@ -323,7 +323,6 @@
323 323  A number of images giving an adequate overview over the sellable and it's properties in this appearance when displayed (ordered from most important to least important image). The exact number and shape of the images depend on your shop settings and the specifications you set when uploading the design. This object has the same structure as **previewImage** (mentioned in the list resource section).
324 324  )))
325 325  
326 -
327 327  Implementation remarks: It is not feasible to import these detail resources into your own data base (because the number of entries can skyrocket quickly).
328 328  Instead, it is recommended to request the API dynamically in an ad-hoc manner once a customer visits a detail page.
329 329  
venn.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +81.8 KB
Content
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -28278939
1 +28278792
url
... ... @@ -1,1 +1,1 @@
1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/28278939/Sellables
1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/28278792/Sellables