What problem does it solve?
Developers need a reliable way to call Crystallize GraphQL APIs from JavaScript or TypeScript without writing repetitive request, authentication, and client-setup logic.
Core Features & Use Cases
- Typed GraphQL API callers: Use dedicated callers for catalogue, discovery, PIM (legacy and nextPim), per-user me, and shop cart flows.
- High-level helpers: Build common workflows like catalogue fetching, navigation retrieval, product hydration, order fetching/management, customer management, subscription contracts, and cart management.
- Flexible authentication: Support static auth tokens for read-only storefront calls, access token ID/secret for PIM and shop operations, sessionId for alternative auth, and bearerToken for JWT-based plugin/delegated calls.
Quick Start
Ask the js-api-client skill to generate a ready-to-run createClient setup using your tenantIdentifier and the authentication method you have, then fetch a catalogue response for the path /shop in language en.