BETA

Hosts and Authorization

Hosts

Access the Import API at the following URLs:

  • Europe: https://import.europe-west1.gcp.commercetools.com
  • North America: https://import.us-central1.gcp.commercetools.com
  • Australia: https://import.australia-southeast1.gcp.commercetools.com

Authorization

The Import API uses tokens and scopes from any of the commercetools HTTP API Authorization flows.

  • To create an ImportSink, an API Client must have at least the manage_import_sinks:{projectKey} scope.
  • To view an ImportSink, an API Client must have at least the view_import_sinks:{projectKey} scope.

The required scope for sending requests to an ImportSink is derived from its resourceType property as follows:

  • To create ImportRequests, an API Client must have at last the scope required to create a resource of the ImportSink's resourceType.

    For example if resourceType is category, the API Client must have, at a minimum, the manage_products:{projectKey} scope.

  • To view ImportOperations or ImportSummaries, an API Client must have at least the scope required to view a resource of the ImportSink's resourceType.

    For example if resourceType is product, the API Client must have at least the view_products:{projectKey} scope.