Last modified by admin on 2023/02/14 14:43

<
From version < 56.1 >
edited by Shop Team
on 2019/10/18 09:07
To version < 54.1 >
edited by Shop Team
on 2019/08/01 14:57
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -13,7 +13,7 @@
13 13  
14 14  = Basics =
15 15  
16 -* The API described here is loosely based on [[REST>>url:https://en.wikipedia.org/wiki/Representational_state_transfer||shape="rect"]] principles. This means among other things that all endpoints can be accessed via HTTPS and HTTP clients like [[curl>>url:https://curl.haxx.se/||shape="rect"]] or [[postman>>url:https://www.getpostman.com/||shape="rect"]] can be used directly to explore the API.
16 +* The API described here is loosely based on [[REST>>url:https://en.wikipedia.org/wiki/Representational_state_transfer||shape="rect"]] principles. This means among other things that all endpoints can be accessed via HTTPS and http clients like [[curl>>url:https://curl.haxx.se/||shape="rect"]] or [[postman>>url:https://www.getpostman.com/||shape="rect"]] can be used directly to explore the API.
17 17  * The base url for all requests is [[https:~~/~~/api.spreadshirt.net>>url:https://api.spreadshirt.net||shape="rect"]] for eu or [[https:~~/~~/api.spreadshirt.com>>url:https://api.spreadshirt.com||shape="rect"]] for na. (This only applies to REST resources, images are retrieved from [[https:~~/~~/image.spreadshirtmedia.net>>url:https://image.spreadshirtmedia.net||shape="rect"]] or [[https:~~/~~/image.spreadshirtmedia.com>>url:https://image.spreadshirtmedia.com||shape="rect"]].)
18 18  * (((
19 19  (% class="auto-cursor-target" %)
... ... @@ -42,10 +42,10 @@
42 42  )))
43 43  
44 44  (% class="auto-cursor-target" %)
45 -Failing to provide this information may result in your requests getting blocked at any point in time because traffic of unknown source can be considered illegitimate.
45 +Failing to provide this information may result in your requests getting blocked at any point in time because traffic of unknown source can be considered illegetimate.
46 46  )))
47 47  * All requests should be performed with a ?mediaType=json query parameter to get the responses in the recommended JSON format. Leaving the parameter out may or may not result in a response in XML format which is harder to work with.
48 -* All REST resources return HTTP status code 200 or 201 in case of successful requests. Status codes from the 4xx range indicate a mistake on your side while errors from the 5xx range indicate an error on ours.
48 +* All REST ressources return HTTP status code 200 or 201 in case of successful requests. Status codes from the 4xx range indicate a mistake on your side while errors from the 5xx range indicate an error on ours.
49 49  * Timestamps are returned in ISO8601 format.
50 50  
51 51  = Next Steps =
... ... @@ -52,7 +52,7 @@
52 52  
53 53  There is a [[tutorial>>doc:Build your own shop system]] available showing the use of this API in order to **implement an own shop system**.
54 54  
55 -Another [[tutorial>>doc:Migration Tutorial]] explains how to adjust your existing implementation in case it broke due to the **partner area migration**.
55 +Another [[tutorial>>doc:Migration Tutorial]] explains how to adjust your existing implementation to the upcoming **partner area migration**.
56 56  
57 57  \\
58 58  
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -36732930
1 +28278907
url
... ... @@ -1,1 +1,1 @@
1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/36732930/Spreadshirt Public Shop API Documentation
1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/28278907/Spreadshirt Public Shop API Documentation