Retrieve the user

How to fetch the user via API

To fetch the user, send a GET request to the /api/user endpoint.

Request

GET https://provisioning.commercelayer.io/api/user

Example

The following request fetches the user in scope:

curl -g -X GET \
  'https://provisioning.commercelayer.io/api/user/' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer {{your_access_token}}'

Last updated