Changes for page Sellables

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

<
From version < 14.1 >
edited by Shop Team
on 2019/10/28 13:39
To version < 15.1 >
edited by Shop Team
on 2023/02/13 22:56
>
Change comment: Renamed back-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"}}
... ... @@ -121,7 +121,7 @@
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
... ... @@ -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.
... ... @@ -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 -36732929
1 +28278792
url
... ... @@ -1,1 +1,1 @@
1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/36732929/Sellables
1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/28278792/Sellables