Likes
Liking/Unliking operations
Likes a product.
Authorizations
accessTokenstringRequired
Path parameters
productIdstringRequired
The ID of the product to like.
Responses
200
Product liked successfully.
application/json
400
Bad request (e.g., product already liked).
401
Unauthorized.
404
Not found.
post
/likes/product/{productId}Unlikes a product.
Authorizations
accessTokenstringRequired
Path parameters
productIdstringRequired
The ID of the product to unlike.
Responses
204
Product unliked successfully.
400
Bad request (e.g., product not liked).
401
Unauthorized.
404
Not found.
delete
/likes/product/{productId}No content
