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

<
From version < 5.1 >
edited by Shop Team
on 2019/08/02 12:37
To version < 6.1 >
edited by Shop Team
on 2019/08/02 13:23
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,11 @@
1 1  If a standalone or [[JavaScript Integrated Shop>>url:https://help.spreadshirt.com/hc/en-us/articles/207487815-Website-Integration-with-JavaScript||shape="rect"]] does not fulfill your requirements and you absolutely must have a custom shop this tutorial aims to be a starting point for your journey.
2 2  
3 +== Example ==
4 +
5 +Before we start you can take a look at a working (minimal) example that we have built in order to demonstrate the capabilities of the Public Shop API: **[[https:~~/~~/github.com/spreadshirt/shop-api-example-integration>>url:https://github.com/spreadshirt/shop-api-example-integration||shape="rect"]]**.
6 +
7 +[[image:attach:image2019-8-2_14-10-37.png]][[image:attach:image2019-8-2_14-11-14.png]][[image:attach:image2019-8-2_14-9-28.png]]
8 +
3 3  == Prerequisites ==
4 4  
5 5  We have to stress that you have to have a certain amount of time and technical knowledge in order to build your own shop based on the Public Shop API.
... ... @@ -12,15 +12,8 @@
12 12  1. PHP and/or Javascript knowledge
13 13  1. Basic understanding about HTTP and "REST Resources" (in combination often called API)
14 14  
15 -== Example ==
21 +== Recommended approach ==
16 16  
17 -Before we start you can take a look at a working (minimal) example that we have built in order to demonstrate the capabilities of the Public Shop API: **[[https:~~/~~/github.com/spreadshirt/shop-api-example-integration>>url:https://github.com/spreadshirt/shop-api-example-integration||shape="rect"]]**.
18 -
19 -[[image:attach:image2019-8-2_14-10-37.png]][[image:attach:image2019-8-2_14-11-14.png]][[image:attach:image2019-8-2_14-9-28.png]]
20 -
21 -\\
22 -
23 -== Best practices ==
24 -
25 -* have batch jobs to fetch sellables into your own DB
26 -* create basket (if needed) on add to basket (not on visit)
23 +* Manage your assets in the Partner Area
24 +* (periodically) fetch all sellables via the Public Shop API and import them to YOUR database
25 +* Basket handling via the Basket API
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -28278925
1 +28278926
url
... ... @@ -1,1 +1,1 @@
1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/28278925/Build your own shop system
1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/28278926/Build your own shop system