Getting Started
fabric is a cloud-native headless platform offering a suite of e-commerce APIs and applications. By separating the sales channel frontends from backend processing systems, developers have the flexibility to create and maintain highly personalized B2C, B2B, or multi-channel e-commerce offerings.
fabric APIs include:
- Product Information Manager (PIM) - Consolidated source for all salable item and vendor information
- Offers - Pricing engine to manage promotions and coupons
- Order Management System (OMS) - Centralized ordering, inventory, and warehouse information
- Identity - User role management and access privileges to the fabric platform
- Experience Manager (XM) - Content management system (CMS) with a web-based editor
- Pay - Secure payment processing on a merchant website
- Subscriptions - Sell and ship items to customers on a recurring basis
- Member - Loyalty management configuration and implementation
- Cart and Checkout - Online cart and checkout management enabling adding, merging and removing items from the cart, and completing the checkout process
Our APIs are based on REST (Representational State Transfer) architectural principles and follow the OpenAPI 3.0 standard. They can be connected using fabric tools, or called individually from other systems to build custom solutions of any size or configuration.
Calling the APIs
When making calls to our APIs, context must be provided via HTTP headers. The header x-site-context contains account and site information. Here’s an example of an API call:
curl -I https://<fabric-base-url>/<endpoint> -H "x-site-context: {"date":<iso-date>, "channel": <channelId>, "account": "<accountId>", "stage": <stage>}"
Your account manager will provide you with accountId, stage, and fabric-base-url. For the channelId, the default is US, which is 12. Contact your account manager to add more channels to target different markets.