Store

api/store endpoint documentation


New store

Description Creates new store for a given account.
Endpoint url api/store/create
Method POST
Params
Required
Headers
Name Type Value Description
token string - The token obtained during the account creation call.
Data params
Name Type Value Description
name string - Name for the created shop. The name will be used internally and won't be exposed outside of the system.
currency string - The currency the shop show prices for, ie. $, €, PLN
Success response

{
    "code": 200,
    "body": {
        "data": {
            "uuid": "4eac5dff-21e8-4e0c-fa25-c386957d0bff",
            "session_ttl": 3600
        }
    }
}
Error response

{
    "code": 422,
    "body": {
        "data": [],
        "errors": {
            "name": [
                "Name cannot be blank."
            ]
        }
    }
}

https://clickstore.pl © 2018 / Wyklikaj Sklep Bez Pomocy Innych / Przycisk "Kup Teraz" z Koszykiem & Kreator Landing Page w Jednym.