Build your own shop system

Version 6.1 by Shop Team on 2019/08/02 13:23

If a standalone or JavaScript Integrated Shop does not fulfill your requirements and you absolutely must have a custom shop this tutorial aims to be a starting point for your journey.

Example

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.

image2019-8-2_14-10-37.pngimage2019-8-2_14-11-14.pngimage2019-8-2_14-9-28.png

Prerequisites

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.

The following topics will not be covered by this tutorial and will be treated as given

  1. A Spreadshop with one or more design which you configured in the PartnerArea
  2. An Spreadshirt API Key
  3. HTML and CSS knowledge
  4. PHP and/or Javascript knowledge
  5. Basic understanding about HTTP and "REST Resources" (in combination often called API)

Recommended approach

  • Manage your assets in the Partner Area
  • (periodically) fetch all sellables via the Public Shop API and import them to YOUR database
  • Basket handling via the Basket API
Tags:
Created by Shop Team on 2019/08/01 14:06