Generate admin token
documentedAuthenticate an admin and obtain a token.
POST /rest/{store_code}/V1/integration/admin/tokenAuthenticationno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl 'https://{{$host}}/rest/{{$store_code}}/V1/integration/admin/token' \
-X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{"username": "{{$username}}", "password": "{{$password}}"}'