Stores
Stores

Create Store

Create a new store owned by the authenticated user.

post/v1/stores/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/v1/stores/
  • Auth: OAuth 2 (password, token URL /v1/auth/login)

Request body

namestring required
type'physical' | 'online' | 'chain' required
addressstring nullable
latnumber nullable
lonnumber nullable
homepagestring nullable
countrystring nullable
languagestring nullable

Response

Successful Response

namestring required
type'physical' | 'online' | 'chain' required
addressstring nullable
latnumber nullable
lonnumber nullable
homepagestring nullable
countrystring nullable
languagestring nullable
idinteger required
owner_idinteger nullable
logo_filenamestring nullable
logo_content_typestring nullable
average_ratingnumber nullable
review_countinteger nullable
product_countinteger nullable
trust_scorenumber nullable
trust_report_countinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.