Merchants
API
Authentication

Authentication

Basic Authentication

  • The API uses Basic Authentication, where the Authorization header must contain a Base64-encoded string of the format username:password.

Example

To authorize with the credentials info@shopflix.gr / p@55w0rd, the client would send:

Authorization: Basic ZGVtbzpwQDU1dzByZA==

cURL Example

curl -u "onoma@example.gr:Abc1234567890PQWER" \
     -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" \
     -H "Content-Type: application/json" \
     --request GET \
     --url "https://merchant.api.shopflix.gr/api/orders" \
     --fail --show-error --silent