---
schema_version: "1"
id: a712db2d5aa35d27fff9fc766272ad44a7b6b0a55eb4601b9e8df46443680d10
title: API Access
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/oci_impl_api_access.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.oci_impl_api_access.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 88cd8b66262a9c08634f74e6ef85057fcd66d0a6692e91955781a3e1434d1970
description: The headless Commerce API is the main programmatic interface with Omnichannel Inventory. To use it, configure authentication via Account Manager or set it up as an external client app.
products:
  - Commerce
  - Omnichannel Inventory
release: "264"
---
# API Access

The headless Commerce API is the main programmatic interface with Omnichannel Inventory. To use it, configure authentication via Account Manager or set it up as an external client app.

You can access most of the same functionality using Connect in Apex or Connect REST API. In Salesforce Flow, you can call the Omnichannel Inventory invocable actions. Connect API and invocable actions don’t require configuration.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-inv_omnichannel_inventory-264-0-0-production-enus/43699e0f-a394-4b55-a1eb-072df389499a/images/icon_note.png)

Note If you’re integrating Omnichannel Inventory with Salesforce B2C Commerce, use Account Manager. Otherwise, set up the headless Commerce API as an external client app.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-inv_omnichannel_inventory-264-0-0-production-enus/43699e0f-a394-4b55-a1eb-072df389499a/images/icon_note.png)

Note A flow that uses Omnichannel Inventory actions must have a runtime API version of 52.0 or later. If possible, always use the latest API version in your flows.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-inv_omnichannel_inventory-264-0-0-production-enus/43699e0f-a394-4b55-a1eb-072df389499a/images/icon_note.png)

Note When importing inventory availability records, the headless Commerce API supports a much larger volume of data than Connect API does. Use the Commerce API for inventory availability imports whenever possible.

Because these inventory API calls communicate across applications, best practice for handling errors is to implement retries.

For more information on headless Commerce API authentication, see [Commerce API Authentication](https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-authentication.html) in the B2C Commerce API Guide.