Retrieve the organization

How to fetch the organization via API

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

Request

GET https://yourdomain.commercelayer.io/api/organization

Example

The following request fetches the organization in scope:

curl -g -X GET \
  'https://yourdomain.commercelayer.io/api/organization/' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer your-access-token'

Last updated