Menu
limits
The project's current resource limits and how much of each is used.
Use it in a workflow
- Add a step and choose the Commercetools connector.
- Pick the limits action (under Limits).
- Fill in the fields below, then reference the result from later steps as
{{limits.response.data}}.
Query
This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.
query Limits {
limits {
query {
offset {
limit
}
}
products {
pricesPerVariant {
limit
}
variants {
limit
}
productTailoring {
limit
}
}
shoppingLists {
lineItems {
limit
}
textLineItems {
limit
}
total {
limit
current
}
}
extensions {
timeoutInMs {
limit
}
maxExtensionsUpdateActions {
limit
}
}
subscriptions {
maxSubscriptions {
limit
}
}
productDiscounts {
totalActive {
limit
current
}
}
cartDiscounts {
totalActiveWithoutDiscountCodes {
limit
current
}
}
discountGroups {
totalActive {
limit
current
}
}
orderEdits {
total {
limit
current
}
}
stores {
productSelections {
limit
}
inventorySupplyChannels {
limit
}
productDistributionChannels {
limit
}
cartDiscounts {
limit
}
total {
limit
current
}
}
businessUnits {
maxDepthLimit {
limit
}
maxDivisions {
limit
}
maxAssociates {
limit
}
maxAssociateRoles {
limit
}
}
customers {
maxGroupsPerCustomer {
limit
}
total {
limit
current
}
}
customerGroups {
total {
limit
current
}
}
zones {
total {
limit
current
}
}
taxCategories {
total {
limit
current
}
}
refreshTokens {
total {
limit
current
}
}
shippingMethods {
stores {
limit
}
total {
limit
current
}
}
carts {
total {
limit
current
}
}
customObjects {
total {
limit
current
}
}
search {
maxTextSize {
limit
}
}
category {
maxCategories {
limit
}
}
productType {
total {
limit
current
}
}
}
}
Response
Read the result with {{limits.response.data.data.limits}}. If the API returns errors, the step fails and they are at {{limits.response.data.errors}}.
Need more? See the Commercetools guide for connection setup and behaviour shared by every action.
Was this page helpful?