Products
Authorizations
accessTokenstringRequired
Body
namestringOptional
descriptionstringOptional
pricenumberOptional
discountedPricenumberOptional
stockintegerOptional
categoryIdstringOptional
brandstringOptional
isFeaturedbooleanOptional
product_imagesstring · binary[]Optional
Responses
201
Product created successfully.
application/json
400
Bad request (e.g., invalid input).
401
Unauthorized.
403
Forbidden.
post
/productsAuthorizations
accessTokenstringRequired
Path parameters
productIdstringRequired
The ID of the product to update.
Body
namestringOptional
descriptionstringOptional
pricenumberOptional
discountedPricenumberOptional
stockintegerOptional
categoryIdstringOptional
brandstringOptional
isFeaturedbooleanOptional
product_imagesstring · binary[]Optional
Responses
200
Product updated successfully.
application/json
400
Bad request (e.g., invalid input).
401
Unauthorized.
403
Forbidden.
404
Not found.
put
/products/{productId}Authorizations
accessTokenstringRequired
Path parameters
retailerIdstringRequired
The ID of the retailer.
Query parameters
limitintegerOptionalDefault:
The number of products to return.
10offsetintegerOptionalDefault:
The number of products to skip.
0Responses
200
A list of products.
application/json
401
Unauthorized.
404
Not found.
get
/products/retailer/{retailerId}Last updated
