.png)
Spryker Integration Guide
Integrate Spryker commerce data with enterprise systems through REST APIs, selected webhook events, data imports, and secure OAuth-based access.
Spryker integration options at a glance
Spryker integrations primarily use the REST-based Glue API and other documented REST resources for products, categories, customers, carts, orders, marketplace data, and related commerce capabilities. Selected modules and project configurations can provide webhook-style notifications for event-driven processing. Spryker also supports data-import and batch-oriented processes, while asset and file handling depends on the enabled implementation. Protected APIs commonly use OAuth 2.0 bearer tokens, client credentials, scopes, and HTTPS. Martini can consume these APIs, receive configured webhook requests, schedule paginated synchronizations, process files, transform JSON payloads, apply business rules, and expose normalized APIs for downstream systems.
Common Spryker integration patterns
Common Spryker data objects used in integrations
Authentication and security considerations
OAuth and bearer tokens
Protected Spryker APIs commonly use OAuth 2.0 client-based flows and bearer access tokens. The client, token endpoint, scopes, and permitted resources vary between Glue API, Back Office API, installed modules, and environments.
Environment-specific secrets
Store OAuth credentials, access tokens, API URLs, and webhook credentials in Martini environment configuration or secrets rather than workflow mappings or source-controlled files.
Transport and authorization
- Use HTTPS for Spryker API and webhook communication.
- Request only the scopes and permissions required by each workflow.
- Validate inbound webhook credentials and event structure before processing.
- Separate development, staging, and production credentials.
Operational considerations for Spryker integrations
Pagination and throughput
Spryker collections may be paginated, and rate limits or infrastructure capacity vary by environment. Use checkpoints, controlled concurrency, throttling, and exponential backoff for large synchronizations.
Idempotency and reconciliation
Webhook deliveries, retries, and restarts can produce duplicates. Use stable Product, Product Offer, Customer, Cart, Order, event, or external references and retain an integration ledger when necessary. Maintain scheduled reconciliation for selective or unreliable event coverage.
Schema and module variation
Resources, fields, relationships, permissions, store context, and order-state transitions depend on Spryker version, installed modules, marketplace configuration, and project extensions. Validate mappings against the target environment and treat optional fields conservatively.
Testing and monitoring
Test representative Products, Product Offers, Customers, Carts, Orders, stores, currencies, locales, and failure conditions. Monitor workflow logs, token failures, pagination progress, downstream responses, retries, and dead-letter or reconciliation paths.
Why use Martini instead of scripts or point-to-point integrations?
Centralized orchestration
Martini provides a maintainable workflow layer between Spryker and ERP, CRM, search, tax, content, fulfillment, and other enterprise systems instead of embedding separate scripts in each point-to-point connection.
Reusable integration logic
Teams can reuse authentication configuration, mappings, validation, business rules, retry handling, correlation, and reconciliation patterns across Spryker resources and target applications.
Flexible API-led integration
Martini can consume Spryker REST APIs, receive selected webhook events, process supported files or imports, and expose normalized APIs without requiring a dedicated vendor connector.
Operational control
Workflows make pagination, checkpoints, idempotency, error routing, monitoring, and environment-specific deployment concerns explicit and easier to operate than unmanaged scripts.