Skip to content
scango.ch
Esc
↑↓navigate↵open⌘Jpreview

Create store

Create a store location. Requires a Write key. Within an organization, name is often the brand; use city (or address) to distinguish locations. Payment provider credentials (Zahls) are configured in the dashboard, not via this API.

POST/stores
Authorization
AuthorizationBearer token (API key) · headerrequired

Organization API key.

Request body
requiredapplication/json
namestringrequired
min length 1
addressstring
zipCodestring
citystring

Human-readable store label within the organization

vatNumberstring
paymentCashboolean
paymentPaytecboolean
paymentZahlsboolean
paymentZahlsOfflineboolean
paymentCashOfflineboolean
showSupplierboolean
hideTextStartboolean
generalMarginnumber
customMessagestring
backgroundImageCartstring | object
Show properties
One of:
string
string
object
srcstring
backgroundImagestring | object
Show properties
One of:
string
string
object
srcstring
backgroundColorstring
backgroundFontColorstring
playSoundboolean
standardSoundstring
adminMailstring
showInfoButtonboolean
showPicturesboolean
showPicturesScaleboolean
deleteCountdownnumber
logoUrlstring
languageMultiboolean
languageMainstring
Allowed:deenfrit
languageSelectorstring[]
translationsobject
Responses
200

Store created

successbooleanrequired
idstringrequired
400

Invalid parameters or body.

statusCodeintegerrequired

HTTP status code

messagestringrequired

Human-readable error message

timestampstring<date-time>required

When the error occurred (UTC).

pathstringrequired

Request URL (path and query string).

403

Missing, unknown or inactive API key, or a Read key on a write operation.

statusCodeintegerrequired

HTTP status code

messagestringrequired

Human-readable error message

timestampstring<date-time>required

When the error occurred (UTC).

pathstringrequired

Request URL (path and query string).

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'https://dashboard.scango.ch/api/v1/stores' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Main store",
  "city": "Zürich",
  "address": "Bahnhofstrasse 1",
  "zipCode": "8001"
}'
Response
{
  "success": true,
  "id": "newStoreId"
}

Was this page helpful?