The Core API is our next-gen API designed to power Apps and Integrations. Please note that the API is a work in progress, and parts of it can change. It will replace the current PIM / Core legacy API.
The Core API can be accessed via the following endpoint:
https://api.crystallize.com/@your-tenant-identifierhttps://api.crystallize.com/@your-tenant-identifierAuthentication is required to access the Core API. You can generate access tokens in order to do so.

The PIM API will be deprecated in favor of the Core API. However, we plan to support the PIM API for the foreseeable future.
While we're in the process of migrating functionality between the APIs, the PIM API cannot be fully replaced by the Core API just yet. However, certain queries and mutations are currently only available through the Core API, including:
One major thing that differs within this API is error handling. You need to specifically query errors as follows:
{
order(id: "ORDER_ID") {
... on Order {
id
}
...on OrderDoesNotBelongToTenantError {
errorName
message
}
}
}{
order(id: "ORDER_ID") {
... on Order {
id
}
...on OrderDoesNotBelongToTenantError {
errorName
message
}
}
}Queries can have errors that are specific to it, like in the example above, in addition to some common ones such as:
...on UnauthorizedError
...on ExperimentalFeaturesNotAvailableError
...on Unknown error
...on BasicError...on UnauthorizedError
...on ExperimentalFeaturesNotAvailableError
...on Unknown error
...on BasicErrorHave a look at our references for: