1. Create seller
Method: POST
URL: http://localhost/tesda/index.php/api/seller
Body → form-data
Key	Type	Value
name
Text
Juan Seller
email
Text
juan@test.com
password
Text
123456
image
File
(optional image)
Send → should return "status": true

2. Create customer
Method: POST
URL: http://localhost/tesda/index.php/api/customers
Body → form-data
Key	Type	Value
name
Text
Maria Customer
email
Text
maria@test.com
password
Text
123456
3. Seller login (needed before creating products)
Method: POST
URL: http://localhost/tesda/index.php/api/login/seller
Body → raw → JSON
{
  "email": "juan@test.com",
  "password": "123456"
}
Send → "Seller login success"
Postman now keeps your login cookie.

4. Check who is logged in
Method: GET
URL: http://localhost/tesda/index.php/api/me
No body
5. Create product (with image)
Still logged in as seller
Method: POST
URL: http://localhost/tesda/index.php/api/products
Body → form-data
Key	Type	Value
name
Text
Blue Cap
description
Text
Nice cap
price
Text
99
stock
Text
10
image
File
pick a jpg/png
Send → product created with seller_name + image_url

6. List products (relationship test)
Method: GET
URL: http://localhost/tesda/index.php/api/products
No body
You should see seller_id and seller_name.

7. Get one product / seller / customer
GET http://localhost/tesda/index.php/api/products/1
GET http://localhost/tesda/index.php/api/seller/1
GET http://localhost/tesda/index.php/api/customers/1
8. Update product + image
Method: POST (not PUT if uploading file)
URL: http://localhost/tesda/index.php/api/products/update/1
Body → form-data
Key	Type	Value
name
Text
Blue Cap Updated
price
Text
120
image
File
new image
9. Delete product
Method: DELETE
URL: http://localhost/tesda/index.php/api/products/1
No body
(Must still be logged in as the seller who owns it)
10. Customer login
Method: POST
URL: http://localhost/tesda/index.php/api/login/customer
Body → raw → JSON
{
  "email": "maria@test.com",
  "password": "123456"
}
11. Logout
Method: POST
URL: http://localhost/tesda/index.php/api/logout
No body