Owner's Product List
curl -L \ --url 'http://api.client.nbcgate.tech//api/product/favorite' \ --header 'Authorization: YOUR_API_KEY'
[ { "id": 1, "name": "text" } ]
Add product to favorites
curl -L \ --request POST \ --url 'http://api.client.nbcgate.tech//api/product/favorite' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '[ { "id": 1 } ]'
No body
Remove product from favorites
curl -L \ --request DELETE \ --url 'http://api.client.nbcgate.tech//api/product/favorite' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '[ { "id": 1 } ]'