--- title: Int - Storefront API description: Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. api_version: 2025-10 api_name: storefront type: scalar api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/scalars/Int md: https://shopify.dev/docs/api/storefront/latest/scalars/Int.md --- # Int scalar Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ## Map ### Fields and connections with this scalar * <-|[Cart.totalQuantity](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.totalQuantity) * <-|[Cart​Line.quantity](https://shopify.dev/docs/api/storefront/latest/objects/CartLine#field-CartLine.fields.quantity) * <-|[Componentizable​Cart​Line.quantity](https://shopify.dev/docs/api/storefront/latest/objects/ComponentizableCartLine#field-ComponentizableCartLine.fields.quantity) * <-|[Count.count](https://shopify.dev/docs/api/storefront/latest/objects/Count#field-Count.fields.count) * <-|[Filter​Value.count](https://shopify.dev/docs/api/storefront/latest/objects/FilterValue#field-FilterValue.fields.count) * <-|[Fulfillment​Line​Item.quantity](https://shopify.dev/docs/api/storefront/latest/objects/FulfillmentLineItem#field-FulfillmentLineItem.fields.quantity) * <-|[Generic​File.originalFileSize](https://shopify.dev/docs/api/storefront/latest/objects/GenericFile#field-GenericFile.fields.originalFileSize) * <-|[Image.height](https://shopify.dev/docs/api/storefront/latest/objects/Image#field-Image.fields.height) * <-|[Image.width](https://shopify.dev/docs/api/storefront/latest/objects/Image#field-Image.fields.width) * <-|[Menu.itemsCount](https://shopify.dev/docs/api/storefront/latest/objects/Menu#field-Menu.fields.itemsCount) * <-|[Metafields​Set​User​Error.elementIndex](https://shopify.dev/docs/api/storefront/latest/objects/MetafieldsSetUserError#field-MetafieldsSetUserError.fields.elementIndex) * <-|[Model3d​Source.filesize](https://shopify.dev/docs/api/storefront/latest/objects/Model3dSource#field-Model3dSource.fields.filesize) * <-|[Order.orderNumber](https://shopify.dev/docs/api/storefront/latest/objects/Order#field-Order.fields.orderNumber) * <-|[Order​Line​Item.currentQuantity](https://shopify.dev/docs/api/storefront/latest/objects/OrderLineItem#field-OrderLineItem.fields.currentQuantity) * <-|[Order​Line​Item.quantity](https://shopify.dev/docs/api/storefront/latest/objects/OrderLineItem#field-OrderLineItem.fields.quantity) * <-|[Product.totalInventory](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.totalInventory) * <-|[Product​Variant.quantityAvailable](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant#field-ProductVariant.fields.quantityAvailable) * <-|[Product​Variant​Component.quantity](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariantComponent#field-ProductVariantComponent.fields.quantity) * <-|[Quantity​Price​Break.minimumQuantity](https://shopify.dev/docs/api/storefront/latest/objects/QuantityPriceBreak#field-QuantityPriceBreak.fields.minimumQuantity) * <-|[Quantity​Rule.increment](https://shopify.dev/docs/api/storefront/latest/objects/QuantityRule#field-QuantityRule.fields.increment) * <-|[Quantity​Rule.maximum](https://shopify.dev/docs/api/storefront/latest/objects/QuantityRule#field-QuantityRule.fields.maximum) * <-|[Quantity​Rule.minimum](https://shopify.dev/docs/api/storefront/latest/objects/QuantityRule#field-QuantityRule.fields.minimum) * <-|[Selling​Plan​Price​Adjustment.orderCount](https://shopify.dev/docs/api/storefront/latest/objects/SellingPlanPriceAdjustment#field-SellingPlanPriceAdjustment.fields.orderCount) * <-|[Selling​Plan​Recurring​Billing​Policy.intervalCount](https://shopify.dev/docs/api/storefront/latest/objects/SellingPlanRecurringBillingPolicy#field-SellingPlanRecurringBillingPolicy.fields.intervalCount) * <-|[Selling​Plan​Recurring​Delivery​Policy.intervalCount](https://shopify.dev/docs/api/storefront/latest/objects/SellingPlanRecurringDeliveryPolicy#field-SellingPlanRecurringDeliveryPolicy.fields.intervalCount) * <-|[Shop​Pay​Installments​Financing​Plan​Term.apr](https://shopify.dev/docs/api/storefront/latest/objects/ShopPayInstallmentsFinancingPlanTerm#field-ShopPayInstallmentsFinancingPlanTerm.fields.apr) * <-|[Shop​Pay​Payment​Request​Line​Item.quantity](https://shopify.dev/docs/api/storefront/latest/objects/ShopPayPaymentRequestLineItem#field-ShopPayPaymentRequestLineItem.fields.quantity) * <-|[Store​Availability.quantityAvailable](https://shopify.dev/docs/api/storefront/latest/objects/StoreAvailability#field-StoreAvailability.fields.quantityAvailable) * <-|[Unit​Price​Measurement.referenceValue](https://shopify.dev/docs/api/storefront/latest/objects/UnitPriceMeasurement#field-UnitPriceMeasurement.fields.referenceValue) * <-|[Video​Source.height](https://shopify.dev/docs/api/storefront/latest/objects/VideoSource#field-VideoSource.fields.height) ### Inputs with this scalar * [Cart​Line​Input.quantity](https://shopify.dev/docs/api/storefront/latest/input-objects/CartLineInput#fields-quantity) * [Cart​Line​Update​Input.quantity](https://shopify.dev/docs/api/storefront/latest/input-objects/CartLineUpdateInput#fields-quantity) * [Image​Transform​Input.maxWidth](https://shopify.dev/docs/api/storefront/latest/input-objects/ImageTransformInput#fields-maxWidth) * [Image​Transform​Input.maxHeight](https://shopify.dev/docs/api/storefront/latest/input-objects/ImageTransformInput#fields-maxHeight) * [Image​Transform​Input.scale](https://shopify.dev/docs/api/storefront/latest/input-objects/ImageTransformInput#fields-scale) * [Shop​Pay​Payment​Request​Line​Item​Input.quantity](https://shopify.dev/docs/api/storefront/latest/input-objects/ShopPayPaymentRequestLineItemInput#fields-quantity) ### Arguments with this scalar * <-|[Article.comments(first)](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.comments.arguments.first) * <-|[Article.comments(last)](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.comments.arguments.last) * <-|[Article.content(truncateAt)](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.content.arguments.truncateAt) * <-|[Article.excerpt(truncateAt)](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.excerpt.arguments.truncateAt) * <-|[Blog.articles(first)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.articles.arguments.first) * <-|[Blog.articles(last)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.articles.arguments.last) * <-|[Cart.deliveryGroups(first)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.deliveryGroups.arguments.first) * <-|[Cart.deliveryGroups(last)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.deliveryGroups.arguments.last) * <-|[Cart.lines(first)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.lines.arguments.first) * <-|[Cart.lines(last)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.lines.arguments.last) * <-|[Cart​Delivery​Group.cartLines(first)](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryGroup#field-CartDeliveryGroup.fields.cartLines.arguments.first) * <-|[Cart​Delivery​Group.cartLines(last)](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryGroup#field-CartDeliveryGroup.fields.cartLines.arguments.last) * <-|[Collection.description(truncateAt)](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-Collection.fields.description.arguments.truncateAt) * <-|[Collection.products(first)](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-Collection.fields.products.arguments.first) * <-|[Collection.products(last)](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-Collection.fields.products.arguments.last) * <-|[Comment.content(truncateAt)](https://shopify.dev/docs/api/storefront/latest/objects/Comment#field-Comment.fields.content.arguments.truncateAt) * <-|[Customer.addresses(first)](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-Customer.fields.addresses.arguments.first) * <-|[Customer.addresses(last)](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-Customer.fields.addresses.arguments.last) * <-|[Customer.orders(first)](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-Customer.fields.orders.arguments.first) * <-|[Customer.orders(last)](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-Customer.fields.orders.arguments.last) * <-|[Fulfillment.fulfillmentLineItems(first)](https://shopify.dev/docs/api/storefront/latest/objects/Fulfillment#field-Fulfillment.fields.fulfillmentLineItems.arguments.first) * <-|[Fulfillment.fulfillmentLineItems(last)](https://shopify.dev/docs/api/storefront/latest/objects/Fulfillment#field-Fulfillment.fields.fulfillmentLineItems.arguments.last) * <-|[Fulfillment.trackingInfo(first)](https://shopify.dev/docs/api/storefront/latest/objects/Fulfillment#field-Fulfillment.fields.trackingInfo.arguments.first) * <-|[Image.transformedSrc(maxWidth)](https://shopify.dev/docs/api/storefront/latest/objects/Image#field-Image.fields.transformedSrc.arguments.maxWidth) * <-|[Image.transformedSrc(maxHeight)](https://shopify.dev/docs/api/storefront/latest/objects/Image#field-Image.fields.transformedSrc.arguments.maxHeight) * <-|[Image.transformedSrc(scale)](https://shopify.dev/docs/api/storefront/latest/objects/Image#field-Image.fields.transformedSrc.arguments.scale) * <-|[Metafield.references(first)](https://shopify.dev/docs/api/storefront/latest/objects/Metafield#field-Metafield.fields.references.arguments.first) * <-|[Metafield.references(last)](https://shopify.dev/docs/api/storefront/latest/objects/Metafield#field-Metafield.fields.references.arguments.last) * <-|[Metaobject​Field.references(first)](https://shopify.dev/docs/api/storefront/latest/objects/MetaobjectField#field-MetaobjectField.fields.references.arguments.first) * <-|[Metaobject​Field.references(last)](https://shopify.dev/docs/api/storefront/latest/objects/MetaobjectField#field-MetaobjectField.fields.references.arguments.last)