homemade food app
V1
Copy Page
homemade food app
APIs v1
Auth
Register: submit account data
POST
Register: resend confirmation email
POST
Register: submit email-confirmation code
POST
Login by password or 3rd-party providers
POST
Reset passwd: submit email
POST
Reset passwd: submit new password
PUT
Admin (role-based)
Merchant admin
Get products list
Create product (merchant-specific or global)
Update product
Delete product
Get discount events list
Create discount event for product(s)
Update discount event for product(s)
Delete discount event for product(s)
Create merchant
Find orders by merchant
Update order
Update order's delivery status
Get users list
Get user by ID
Create user
Get merchants list
User (private)
Get current account data
GET
Exchange new tokens
GET
Request to delete current account
DELETE
Public
Find merchants
GET
Find products by merchant
GET
Get merchant by ID
GET
Schemas
V1
common
Serial ID
UUID
Ward
District
Province
Administrative Unit
Administrative Region
Domain hostname
Coordinates
Phone Number
Timestamp
RootLinks
RootError
Request Meta
Auth
Auth tokens
Auth with provider
JWT
Address
User
Product
Product Category
Merchant
Order
Event:Discount
Order Delivery Status
Tag
V1
Copy Page
Tag
{
"id"
:
0
,
"name"
:
"string"
}