Closed ahmadfarid-059 closed 2 years ago
Endpoint: GET/products/:userId
GET/products/:userId
Description Send all products of the userId in request params
Protected: No
Response: maybe success or error: Error :
{ status:404, message: 'No Data Found' }
Success
{ status:200, data: [{ name, class, type, date, city, phone, description, price, currency, likes, images, approved }] , }
Request body: No
Tests: 200 status
Profile Products
Endpoint:
GET/products/:userId
Description Send all products of the userId in request params
Protected: No
Required middlewares: No
Response: maybe success or error: Error :
Success
Request body: No
Tests: 200 status