Closed Vince-Ku closed 11 months ago
Following Distributor API's API design.
Retrieve all the distributors liked by the logged-in user.
<Auth> GET https://{domainhost}/distributors/like
"code": 10100 "data": [ { "id": 1}, { "id": 12}, { "id": 123}, ]
Add the distributor liked by the logged-in user.
<Auth> POST https://{domainhost}/distributors/{distributor_id}/like
"code": 10100 "data": nil
Delete the distributor liked by the logged-in user.
<Auth> Delete https://{domainhost}/distributors/{distributor_id}/like
@shadow3x3x3 please take a look if available.
It seems good.
Feature
Following Distributor API's API design.
Get Distributor-like API (member-only)
Retrieve all the distributors liked by the logged-in user.
Response
Add Distributor-like API (member-only)
Add the distributor liked by the logged-in user.
Response
Delete Distributor-like API (member-only)
Delete the distributor liked by the logged-in user.