Client auth

If you don't have any customer context you can use this type of authentication.

Endpoint:
POST {{api_base_url}}/login

Parameters:

Parameter

Value

Description

grant_type

client_credentials

fixed value

client_id

client_secret

Example:

curl -X POST -H 'Accept-Content:application/json' \
  '{{api_base_url}}/login' \
  -d '
  {
  "client_id":"{client_id}", 
  "client_secret":"{client_secret}",
  "grant_type":"client_credentials"
  }'

🚧

Notice

Please remember that this access token is not connected to a customer.
So you cannot call customer dependant endpoint like GET {{api_base_url}}/customers/me.