Skip to main content
POST
Create a shop

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
uniqueName
string
required

Shop unique name (URL slug)

Required string length: 3 - 50
Pattern: ^[a-z0-9-_]+$
Example:

"moj-sklep"

displayName
string
required

Display name

Required string length: 1 - 100
Example:

"Mój Sklep"

frontEndUrl
string<uri>

Shop frontend URL

Example:

"https://moj-sklep.pl"

discordWebhookUrl
string<uri>

Discord webhook URL

Response

OK

success
boolean
Example:

true

data
object
message
string