Create store
POST
https://app.ecwid.com/api/v3/stores
Required access scopes
This API call requires the following access scope: create_stores
Headers
All request headers are required.
X-Ecwid-App-Client-Id
string
Your application’s client_id
X-Ecwid-App-Secret-Key
string
Your application’s client_secret
Query params
All query params are optional
returnApiToken
boolean
true
to include token into API response. When a store is successfully created, API will return Store ID ('id') of the created store and API token that should be saved and used later for API calls for this store.
Request JSON
merchant
Store owner’s account data. Required
affiliatePartner
Affiliate partner data.
profile
General settings for the new store.
merchant
string
Store owner’s email. Required
name
string
Store owner’s name. Required
password
string
Ecwid account password. Minimum password length is 6 characters.
ip
string
Store owner’s IP. Is used to predetermine user’s location and set default settings in store
facebookLogin
Merchant's Facebook login info – when creating account via social buttons. Use Facebook or Google info for registration with social account. Facebook email and name will be used for this Ecwid account if available in Facebook
googleLogin
Merchant's Google login info – when creating account via social buttons. Use Facebook or Google info for registration with social account. Google email and name will be used for this Ecwid account if available on Google
facebookLogin
facebookID
string
Store owner’s Facebook ID
facebookToken
string
Store owner’s Facebook token
googleLogin
googleToken
string
Store owner’s Google token
affiliatePartner
source
string
Determines the source of the registered account
ambassador
ambassador
ref
string
Referral account ID
campaignId
string
Campaign ID
profile
Response JSON
id
number
ID of the created store
token
string
A secret token for the created store.
Last updated
Was this helpful?