One REST API on both editions
Adobe Commerce, on cloud or on premises, and Magento Open Source all use the same REST API framework, with endpoints versioned in the path, such as /V1/products/base-prices. Next to it there is GraphQL, and an asynchronous bulk API that runs many calls of the same type from one request. Open Source and on-premises stores run on the merchant’s own servers.
Integrations and tokens
A third-party app connects through an integration, which uses OAuth 1.0a: when the merchant activates it, Magento generates a consumer key, a consumer secret, an access token and an access token secret. The integration’s access token lasts until someone revokes it. Using it on its own as a Bearer token is turned off by default, because the token never expires, and Adobe does not recommend turning it back on.
| Token | Who it is for | Lifetime |
|---|---|---|
| Integration | A third-party app, through OAuth 1.0a | Until it is revoked |
| Admin | An admin user | 4 hours by default |
| Customer | A customer of the store | 1 hour by default |
Scroll sideways to see every column.
Rate limits and input limits
Adobe documents no general rate limit for the web APIs: on a store the merchant hosts, the limit is what the server allows. Since 2.4.7 an optional limit covers payment information and order placement only, and it is off by default. Separately, optional input limits cap the items in an array and in a page of results; they are off by default too. Version 2.4.3 shipped with a default of 20 items per array, which a later patch raised.
Configurable and simple products
Magento builds variants as a configurable parent product linked to simple child products, one for each combination of the options that vary, such as size or color. Each child is a product of its own, with its own SKU. The docs set no maximum number of children per configurable product.
Writing prices in bulk
The price endpoints take many SKUs in one call, one endpoint for each kind of price. The docs set no maximum per call, but when the store’s input limits are on, its Input List Limit caps the array. For other changes, the asynchronous bulk API runs many calls of the same type as a single request, through the store’s message queue.
| Price | Write | Read |
|---|---|---|
| Base price | /V1/products/base-prices |
base-prices-information |
| Special price | /V1/products/special-price |
special-price-information |
| Tier prices | /V1/products/tier-prices |
tier-prices-information |
| Cost | /V1/products/cost |
cost-information |
Scroll sideways to see every column.
POST /rest/default/V1/products/base-prices Authorization: Bearer … Content-Type: application/json { "prices": [ { "price": 45.00, "store_id": 0, "sku": "LS-001-S" }, { "price": 45.00, "store_id": 0, "sku": "LS-001-M" } ] }
Pagination and webhooks
Searches page through searchCriteria[pageSize] and searchCriteria[currentPage]. Without pageSize the API returns every match, and when input limits are on, the Maximum Page Size setting caps a page. Magento Open Source sends no webhooks for product changes. Adobe Commerce has two ways: Adobe Commerce Webhooks, which call an external system synchronously, and Adobe I/O Events, from version 2.4.4.