Skip to main content
POST
/
v1
/
user
/
store
Create Store
curl --request POST \
  --url https://storekit.samarthh.me/v1/user/store \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=My Store' \
  --form 'description=A test store for development' \
  --form 'address=123 Main Street, City, State 12345' \
  --form favicon='@example-file' \
  --form logoBlackWhite='@example-file' \
  --form logoColoured='@example-file' \
  --form 'socialMediaUrls={"facebook": "https://facebook.com/mystore", "twitter": "https://twitter.com/mystore", "instagram": "https://instagram.com/mystore"}' \
  --form 'whatsappNumber=+1234567890' \
  --form gstNumber=22AAAAA0000A1Z5 \
  --form 'mobile=+1234567890' \
  --form 'landline=+1234567891' \
  --form [email protected] \
  --form [email protected]

Body

multipart/form-data
name
string
Example:

"My Store"

description
string
Example:

"A test store for development"

address
string
Example:

"123 Main Street, City, State 12345"

favicon
file
logoBlackWhite
file
logoColoured
file
socialMediaUrls
string
Example:

"{\"facebook\": \"https://facebook.com/mystore\", \"twitter\": \"https://twitter.com/mystore\", \"instagram\": \"https://instagram.com/mystore\"}"

whatsappNumber
number
Example:

"+1234567890"

gstNumber
string
Example:

"22AAAAA0000A1Z5"

mobile
number
Example:

"+1234567890"

landline
number
Example:

"+1234567891"

contactEmail
string
supportEmail
string

Response

201 - application/json

Successful response