Some limits can be increased per project on customer request. Most limits only apply to projects created after the introduction of the respective limit.
limits field on the GraphQL API.
If the limit applies to the total amount of a resource type, the current usage can be accessed as well.General
JSON document size
16 megabytes.16 megabytes and fail if the resulting document exceeds this limit.16 megabytes, a background update that would push it past the limit is not applied, and the affected fields remain stale until the resource shrinks below the limit.availability triggered by InventoryEntry changes may not be reflected on the Product.Request body size
14 megabytes.
Requests with a larger body are rejected with an HTTP 413 Content Too Large response before they reach the endpoint logic.URL and headers size
about 15 kilobytes.
Requests that exceed this limit are rejected before reaching the endpoint logic and are listed among the disallowed requests.where predicate with many values in an in (...) expression, or a long list of expansion paths.
To keep query strings compact, use input variables to move repeated values into separate var.* query parameters, and split large ID sets into multiple smaller requests.Field content size
10 922 characters.Non searchable fields are only limited by the overall JSON document size.
String content limits
MinLength, MaxLength, and Pattern. If a Pattern is not specified, any UTF-8 encoded Unicode characters are accepted. Additionally, the length of string fields is limited by the overall JSON document size.Slugs
[a-zA-Z0-9_\-]{2,256}, hence they are limited to 256 characters.Queries
500 elements can be fetched.10 000.
The total field of PagedQueryResult is limited to the maximum offset when the results are filtered with a Query Predicate.Update actions per request
500.Reference Expansion
3 references.GraphQL
20 000 are not executed, and a QueryComplexityLimitExceeded error is returned.Load testing
External OAuth 2.0 endpoint timeouts
500 ms, including network latency.504 Gateway Timeout or 502 Bad Gateway HTTP status code and an ExternalOAuthFailed error code.Refresh tokens
10 million.
If the limit is exceeded, the least recently used refresh tokens are deleted.
Creating new refresh tokens continues to work.Product Catalog
Categories
10 000 Categories can be created.Product Variants
Variants
10 000 standalone Variants can be created per Product. Standalone Variants are available in Projects that use the Modular ProductCatalogModel.Product Search
Modular ProductCatalogModel, the indexed Variants and the indexed StandalonePrices of a Product share a combined limit of 10 000 entries for Product Search. The indexer prioritizes Variants: it indexes as many Variants as possible first, then uses any remaining capacity within the limit to index StandalonePrices. For details, see Large number of Standalone Prices.Classic ProductCatalogModel, a maximum number of 10 000 StandalonePrices per Product can be indexed for Product Search.15 000 ProductSelections per Product can be indexed for Product Search.15 000 Stores per Product can be indexed for Product Search.50 Product Attributes per Product and a maximum number of 50 Variant Attributes per Product Variant can be indexed for Product Search.100 elements can be fetched.
In pagination, the maximum offset is 10 000.256 characters. Exceeding this limit will return an invalid input error.
You can include a maximum of 50 expressions in a single request. This includes all compound expressions.10 922 characters.200.
This limit can be increased per project after we review the performance impact.
Contact the commercetools support team and provide the region, project key, and use case.Product Projection Search
10 922 characters.200.500 elements can be fetched.
In pagination, the maximum offset is 10 000.256 characters of the full-text search query parameter only.
Everything beyond 256 characters will be ignored.
You can continue to pass longer query parameters, the API call will still be successful.Attribute Groups
100 Attribute Groups can be created per project.Product Tailoring
100 000 000 Product Tailoring can be created per project.Product Selections
| Product Selection mode | Assignment | Optional SKU list |
|---|---|---|
Individual | Product is included | variantSelection with includeOnly or includeAllExcept |
IndividualExclusion | Product is excluded | variantExclusion |
An assignment without an SKU list covers all Product Variants of the Product.
SKUs per assignment
| Product catalog model | Maximum SKUs in the SKU list of one assignment |
|---|---|
Classic | Same as the limit on Product Variants per Product: 100 by default |
Modular and InMigration | 1 000, fixed |
includeAllExcept and list only the SKUs to leave out.Classic ProductCatalogModel, request an increase of the Product Variants limit. Contact the commercetools support team and provide the region, project key, and use case.Assignments per Product
Modular or InMigration ProductCatalogModel. Each Product can be included in at most 1 000 Product Selections and excluded from at most 1 000 Product Selections.- Only existing assignments count. Removing a Product from a Product Selection frees one assignment.
- Inclusions and exclusions are counted separately.
- Every assignment counts toward this limit, with or without an SKU list.
Changes per assignment
The number of times a single assignment can be changed is limited. Changes include setting a variant selection or exclusion, and removing and re-adding the Product. The more SKUs the assignment lists, the fewer changes are allowed. For example, an assignment that lists 1,000 SKUs supports a few hundred changes.
Product has been changed too many times in this Product Selection. Use fewer, larger changes instead of frequent small ones.Pricing and Discounts
Standalone Prices
Embedded Prices
100 Embedded Prices can be specified per ProductVariant. Tiered prices, if any, are also counted towards this limit.Cart Discounts
isActive=true and requiresDiscountCode=false) and are independent of any Store is limited to 100.100 active CartDiscounts that do not require a Discount Code.100 + (100 * number of Stores in a Project).recurringOrderScope set to AnyOrder or NonRecurringOrdersOnly) and for recurring Orders (with recurringOrderScope set to AnyOrder, RecurringOrdersOnly, or ApplicableRecurrencePolicies).Cart Discount's Stores
Discount Codes
10 DiscountCodes. A DiscountCode can be associated with up to 10 CartDiscounts.Discount Groups
100. A DiscountGroup can contain up to 100 CartDiscounts.Product Discounts
500.Carts, Orders, and Shopping Lists
Payment Methods
50 active and 100 inactive PaymentMethods. The limits apply independently per Customer or Associate and do not overlap.1 000 000 PaymentMethods that are not assigned to a Customer or Associate.Shopping Lists
10 000 000.
If your project contains more shopping lists, the automatic clean-up task deletes the ones closest to their configured retention. This is determined using lastModifiedAt + deleteDaysAfterLastModification.deleteDaysAfterLastModification. In those projects, the automatic cleanup task will continue using the legacy behavior, deleting the least recently modified resources.To avoid your project exceeding its limits, we recommend the following best practices:
- Only create Shopping Lists when a user adds a Line Item.
- Use shorter retention periods for short-lived Shopping Lists (for example, wedding wishlists).
Carts
10 000 000.
If your project contains more Carts, the automatic clean-up task deletes the ones closest to their configured retention. This is determined using lastModifiedAt + deleteDaysAfterLastModification.deleteDaysAfterLastModification. In those projects, the automatic cleanup task will continue using the legacy behavior, deleting the least recently modified resources.To avoid your project exceeding its limits, we recommend the following best practices:
- Only create Carts when a user adds a Line Item.
- Set a short retention period to avoid accumulating stale data.
- Use shorter retention periods for short-lived Carts (for example, in-store Carts).
- Delete Carts once they are converted into Orders.
Shipping Methods
100.100.Shipping Zones
100.Order Edits
100 000.Order Search
3 months are indexed and can be retrieved.Customers
Customers
10 000 000.Customer Search
10 000 addresses per Customer can be indexed for Customer Search. The first 10 000 addresses in the Customer addresses field are indexed.50 Custom Fields per Customer can be indexed for Customer Search. If a Customer has more, only the first 50 Custom Fields, sorted alphabetically by field name, are indexed.Customer Groups
10 000.Business Units B2B B2X
5 levels. Each top-level Business Unit can have a maximum of 4 000 Divisions, including all direct and indirect children.2 000 Associates, and each Associate can have up to 5 AssociateRoleAssignments.Business Unit Search B2B B2X
10 000 addresses per Business Unit can be indexed for Business Unit Search. The first 10 000 addresses in the BusinessUnit addresses field are indexed.50 Custom Fields per Business Unit can be indexed for Business Unit Search. If a Business Unit has more, only the first 50 Custom Fields, sorted alphabetically by field name, are indexed.Audit Log
Change History
1 year.3 years.Configuration
Stores
300 000.Store's Inventory Supply Channels
Store's Product Distribution Channels
Store's Product Selections
Tax Categories
100.Customize Data and Behavior
Custom Objects
20 000 000 Custom Objects can be created.Product Types
1 000 Product Types can be created.API Extensions
25 Extensions can be created per project.3 expansion paths.
The reference expansion itself also has some limits.Subscriptions
50 Subscriptions can be created per project.AI tools
Hosted MCP tool invocations
1 000 000 tool invocations can be made per Project per month. This limit applies to Managed MCP Servers.Managed MCP Servers per Project
500 Managed MCP Servers can be created per Project. When a Project reaches this limit, requests to create an MCP Server are rejected with a MaxResourceLimitExceeded error.Import API
Import Containers
1 000 Import Containers can be created per Project.retentionPolicy are automatically deleted 72 hours after creation. Set a TimeToLiveRetentionPolicy to use a custom duration (within the allowed minimum and maximum).Import Operations
48 hours after it is created.Import Requests
20 resources to import.