Getting Started

fabric is a cloud-native, headless ecommerce platform offering a comprehensive suite of APIs and applications. By separating the sales channel frontends from backend processing systems, fabric provides developers with the flexibility to build, integrate and maintain highly personalized B2C, B2B, or multi-channel commerce experiences with precision.

Here’s an overview of what you have access to with our APIs:

  • Cart and Checkout - Online cart and checkout management enabling adding, merging and removing items from the cart, and completing the checkout process

  • Experiences - Content management system (CMS) with a web-based editor

  • Identity - User role management and access privileges to the fabric platform

  • Loyalty - Loyalty management configuration and implementation

  • Offers - Pricing engine to manage promotions and coupons

  • Orders - Centralized ordering, inventory, and warehouse information

  • Pay - Secure payment processing on a merchant website

  • Products - Consolidated source for all salable item and vendor information

  • Subscriptions - Sell and ship items to customers on a recurring basis

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.