Quick start guide

Retrieve your token

With the portal

Go in the Body section of the interface below and replace YOUR_SHOPPINGFEED_USERNAME by your username and YOUR_SHOPPINGFEED_PASSWORD by your password, then hit Send button

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.

With Curl

Replace username and password values, then paste the request in your terminal

curl --request POST \
  --url https://api.shopping-feed.com/v1/auth \
  --header 'content-type: application/json' \
  --data '{"grant_type":"password","username":"YOUR_SHOPPINGFEED_USERNAME","password":"YOUR_SHOPPINGFEED_PASSWORD"}'

Test your authentication

With the portal

Go in the Headers section of the interface below and replace YOUR_SHOPPINGFEED_TOKEN by your token, then hit Send button

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.

With Curl

Replace YOUR_SHOPPINGFEED_TOKEN by your token then paste the request in your terminal

curl --request GET \
  --url https://api.shopping-feed.com/v1/me \
  --header 'Authorization: Bearer YOUR_SHOPPINGFEED_TOKEN'