Platform Release 23 July 2020

You can now check limits that are specific to a project with a GraphQL query.

Which limits are included?

Introduced the following changes to the GraphQL schema (in SDL format):

extend type Query {
  limits: ProjectCustomLimitsProjection!
}

"Contains information about the limits of your project."
type ProjectCustomLimitsProjection {
  query: QueryLimitsProjection!
  products: ProductLimitsProjection!
  shoppingLists: ShoppingListLimitsProjection!
  extensions: ExtensionLimitsProjection!
  productDiscounts: ProductDiscountLimitsProjection!
  cartDiscounts: CartDiscountLimitsProjection!
  orderEdits: OrderEditLimitsProjection!
  stores: StoreLimitsProjection!
  customers: CustomerLimitsProjection!
  customerGroups: CustomerGroupLimitsProjection!
  zones: ZoneLimitsProjection!
  taxCategories: TaxCategoryLimitsProjection!
  refreshTokens: RefreshTokenLimitsProjection!
  shippingMethods: ShippingMethodLimitsProjection!
  carts: CartLimitsProjection!
}

type CartDiscountLimitsProjection {
  totalActiveWithoutDiscountCodes: LimitWithCurrent!
}

type CartLimitsProjection {
  total: LimitWithCurrent!
}

type CustomerGroupLimitsProjection {
  total: LimitWithCurrent!
}

type CustomerLimitsProjection {
  total: LimitWithCurrent!
}

type ExtensionLimitsProjection {
  timeoutInMs: Limit!
}

type Limit {
  limit: Long
}

type LimitWithCurrent {
  limit: Long
  current: Long!
}

type OrderEditLimitsProjection {
  total: LimitWithCurrent!
}

type ProductDiscountLimitsProjection {
  totalActive: LimitWithCurrent!
}

type ProductLimitsProjection {
  pricesPerVariant: Limit!
  variants: Limit!
}

type QueryLimitsProjection {
  offset: Limit!
}

type RefreshTokenLimitsProjection {
  total: LimitWithCurrent!
}

type ShippingMethodLimitsProjection {
  total: LimitWithCurrent!
}

type ShoppingListLimitsProjection {
  lineItems: Limit!
  textLineItems: Limit!
  total: LimitWithCurrent!
}

type StoreLimitsProjection {
  total: LimitWithCurrent!
}

type TaxCategoryLimitsProjection {
  total: LimitWithCurrent!
}

type ZoneLimitsProjection {
  total: LimitWithCurrent!
}