Crystallize JS API Client

•
4
•

Simplifies interaction with Crystallize GraphQL APIs and commerce workflows using a typed JavaScript/TypeScript client.

This skill provides comprehensive support for the @crystallize/js-api-client package, enabling developers to seamlessly integrate Crystallize's headless commerce capabilities into JavaScript or TypeScript applications. It offers specialized guidance for configuring various authentication methods, executing complex GraphQL queries across multiple API endpoints—including PIM, Catalogue, Discovery, and Shop—and leveraging high-level helpers for common tasks like cart management, order processing, and product hydration. Whether building a storefront or managing backend operations, this skill ensures best practices for type safety and API efficiency.

Características Principales

01Typed GraphQL API callers for PIM, Catalogue, Discovery, and Shop Cart APIs
02Support for multiple authentication methods including Bearer tokens and Access Token pairs
03High-level helpers for navigation, cart management, and order fetching
04Cross-environment support for both server-side and client-side implementations
05Simplified product hydration and customer management utilities
064 GitHub stars

Casos de Uso

01Building a custom frontend storefront with automated product fetching and navigation
02Managing backend e-commerce operations like order processing and customer group updates
03Developing Crystallize App plugins that require authenticated communication with the PIM