Creates a new brand in a form
POST:
{
'name':'brand_name',
'description':'description'
}
Add the specified product to the cart
POST:
{
'name':'product_name',
'description':'description',
'quantity':'1',
'price':'200',
'product_type':[1],
'seller':1
}
Remove the specified product from the cart
DELETE:
{
'name':'product_name',
'description':'description',
'quantity':'1',
'price':'200',
'product_type':[1],
'seller':1
}
Edit specifications
PATCH:
{
'name':'spec_name',
'description':'description',
'creator':'1',
'creator_type':'MN',
'product':1,
'content': ""
}
Create new user account
POST:
{
'username':'user',
'password':'pass',
'passwordconf':'pass',
'email':'test@email.com',
'account_type':'BU',
'street_adresss':'123 NE 4th ST.',
'city':'Seattle',
'state':'WA',
'zipcode':98105
}
Edit user profile
PATCH:
{
'user':'user',
'account_type':'BU',
'street_adresss':'123 NE 4th ST.',
'city':'Seattle',
'state':'WA',
'zipcode':98105
}
Update purchase price and items
PATCH:
{
'total_price':100
'total_items':10
}
Create a new product type
POST:
{
'name':'product_type',
'description':'product_type_description',
}
Edit product name, description, quantity, and price
PATCH:
{
'name':'name',
'description':'description',
'quantity':1,
'price':30
}
Edit review score and description
PATCH:
{
'rating':5,
'description':'description'
}