You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The key(category) in categories(Featured Categories,Features,location,others) are constant while its properties(sub-category) in the array can vary and change based on the categories it falls on ,but it must not pass the range of those in the arrays.This means the array can take some sub-category it meets standard with but cant take pass the range of what is in the array.
Get all products
GET /api/v1/products
Parameter
Type
Description
api_key
string
Required. Your API key
Get a specific product
GET /api/v1/products//getProduct/${id}
Parameter
Type
Description
id
string
Required. Id of item to fetch
Upload image to obtain image url as response for product creation
Format. The whole categories object must be sent back but the subcategories contained in the array is optional,depending on whether the product meet its parameter or it could be empty
Format. The whole categories object must be sent back but the subcategories contained in the array is optional,depending on whether the product meet its parameter or it could be empty
Only admin can take action which will be deduced from token
Parameter
Type
Description
id
string
Required. Id of user to delete
On click of the link for email verification
Get /api/v1/auth/verifyGmail/:${task}
Request headers : query param -token(This is present in the link sent), path param task(this tells the server what the clicked link is for "Email-verification")
On click of the link for password reset
Get /api/v1/auth/resetPasswordLink/:${task}
Request headers : query param -token(This is present in the link sent), path param task(this tells the server what the clicked link is for "password-reset")