Getting Started With Your API
This page will help you get started with Kibo’s APIs. Implementing Kibo Composable Commerce REST APIs allows merchants to take advantage of efficient ecommerce, order management, and fulfillment strategies to bridge the gap between online and in-store shopping.Making API Calls
This section explains how to determine API base URLs, perform authentication, and define headers when you make API calls outside of the interactive documentation.Base URLs
Base URLs reference either a production or sandbox environment, and can optionally include a Site ID (s00000) in addition to your required Tenant ID (t00000). The tp0 is your tenant’s assigned production pod for making calls to production environments.
Example US Sandbox Tenant: https://t00000.sandbox.mozu.com/api
Example US Production Tenant: https://t00000.tp0.mozu.com/api
Example EU Sandbox Tenant: https://t00000.sb.euw0.kibocommerce.com/api
Example EU Production Tenant: https://t00000.tp0.euw1.kibocommerce.com/api
Example GCP Sandbox Tenant: https://t00000.sb.usc1.gcp.kibocommerce.com
Example GCP Prod Tenant: https://t00000.tp0.usc1.gcp.kibocommerce.com
How to Authenticate
Any user that calls into the Kibo APIs must authenticate by including an OAuth 2.0 access token in the request header. To obtain this token, you must provide the prerequisite Application (Client) ID and shared Client Secret. This ID and secret may be found in the Dev Center under the Application Core details if needed.Additional Headers
The request headers may include additional context which often identifies the site and catalog you are referencing. If you use the hostname format that includes the Site ID, then the master catalog, catalog, site, locale, and currency context are inferred by the site and do not need to be explicitly provided. The following is an example explicitly defining that context:| Header | Type | Value |
|---|---|---|
| x-vol-catalog | request and response | The identifier of the catalog. Your first catalog is 1, the second catalog is 2, and so on. |
| x-vol-master-catalog | request and response | The identifier of the master catalog. Your first master catalog is 1, the second catalog is 2, and so on. |
| x-vol-site | request and response | The unique identifier of the site. When you log in to Admin, this number appears in the URL for the Site Builder module, preceded by an “s-”. |
| x-vol-locale | request and response | The code of the content locale. For example: en-US |
| x-vol-version | request and response | The version of the API to use in the request. If the version is not specified, the request uses the latest available version. |
| x-vol-currency | request and response | The three-letter ISO 4217 standard global currency code. For example: USD |
| x-vol-purchase-location | request | The location code of the store that you want to restrict your call to, such as for querying products only at that particular location. |
| x-vol-pricelist | request | The code of the pricelist that you want to restrict your call to, such as when querying for products. |
| x-vol-correlation | request | An optional GUID used to associate multiple log entries in a cascading chain of API requests. |
| x-vol-dataview-mode | request | The mode in which to view runtime data, which is Live or Pending. |
Putting it All Together
Further Documentation
To learn how to use Postman, see the Getting Started with Postman guide. For information on how to filter and sort API queries, see the Filtering and Sorting documentation. After you have submitted your request, refer to the Status Codes documentation for the HTTP statuses and other API response codes you can expect.API Overviews
Explore the available APIs organized by domain.Platform & Administration
Tenant & Admin User
Tenant configuration and admin user management
App Development
Build and manage applications on the Kibo platform
Settings
Site and system configuration settings
Entities
Custom entity data storage and retrieval
Content
Content management and document storage
Events
Event subscriptions and webhook notifications
Catalog
Catalog Admin
Product, category, and attribute management
Catalog Storefront
Storefront product search and display
Commerce & Customers
Commerce
Orders, carts, checkout, and payments
Customer
Customer accounts, segments, and authentication
Subscription
Recurring orders and subscription management
Import/Export
Bulk data import and export operations
Inventory & Fulfillment
Inventory
Stock levels, allocations, and inventory tracking
Fulfillment
Shipment processing and fulfillment workflows
Order Routing
Intelligent order allocation and routing rules
Reservation
Inventory reservations and holds

