--- 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: 2024-10 api_name: storefront type: scalar api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/2024-10/scalars/Int' md: 'https://shopify.dev/docs/api/storefront/2024-10/scalars/Int.txt' --- # 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/2024-10/objects/Cart#field-totalQuantity) * <-|[Cart​Line.quantity](https://shopify.dev/docs/api/storefront/2024-10/objects/CartLine#field-quantity) * <-|[Componentizable​Cart​Line.quantity](https://shopify.dev/docs/api/storefront/2024-10/objects/ComponentizableCartLine#field-quantity) * <-|[Count.count](https://shopify.dev/docs/api/storefront/2024-10/objects/Count#field-count) * <-|[Filter​Value.count](https://shopify.dev/docs/api/storefront/2024-10/objects/FilterValue#field-count) * <-|[Fulfillment​Line​Item.quantity](https://shopify.dev/docs/api/storefront/2024-10/objects/FulfillmentLineItem#field-quantity) * <-|[Generic​File.originalFileSize](https://shopify.dev/docs/api/storefront/2024-10/objects/GenericFile#field-originalFileSize) * <-|[Image.height](https://shopify.dev/docs/api/storefront/2024-10/objects/Image#field-height) * <-|[Image.width](https://shopify.dev/docs/api/storefront/2024-10/objects/Image#field-width) * <-|[Menu.itemsCount](https://shopify.dev/docs/api/storefront/2024-10/objects/Menu#field-itemsCount) * <-|[Metafields​Set​User​Error.elementIndex](https://shopify.dev/docs/api/storefront/2024-10/objects/MetafieldsSetUserError#field-elementIndex) * <-|[Model3d​Source.filesize](https://shopify.dev/docs/api/storefront/2024-10/objects/Model3dSource#field-filesize) * <-|[Order.orderNumber](https://shopify.dev/docs/api/storefront/2024-10/objects/Order#field-orderNumber) * <-|[Order​Line​Item.currentQuantity](https://shopify.dev/docs/api/storefront/2024-10/objects/OrderLineItem#field-currentQuantity) * <-|[Order​Line​Item.quantity](https://shopify.dev/docs/api/storefront/2024-10/objects/OrderLineItem#field-quantity) * <-|[Product.totalInventory](https://shopify.dev/docs/api/storefront/2024-10/objects/Product#field-totalInventory) * <-|[Product​Variant.quantityAvailable](https://shopify.dev/docs/api/storefront/2024-10/objects/ProductVariant#field-quantityAvailable) * <-|[Product​Variant​Component.quantity](https://shopify.dev/docs/api/storefront/2024-10/objects/ProductVariantComponent#field-quantity) * <-|[Quantity​Price​Break.minimumQuantity](https://shopify.dev/docs/api/storefront/2024-10/objects/QuantityPriceBreak#field-minimumQuantity) * <-|[Quantity​Rule.increment](https://shopify.dev/docs/api/storefront/2024-10/objects/QuantityRule#field-increment) * <-|[Quantity​Rule.maximum](https://shopify.dev/docs/api/storefront/2024-10/objects/QuantityRule#field-maximum) * <-|[Quantity​Rule.minimum](https://shopify.dev/docs/api/storefront/2024-10/objects/QuantityRule#field-minimum) * <-|[Selling​Plan​Percentage​Price​Adjustment.adjustmentPercentage](https://shopify.dev/docs/api/storefront/2024-10/objects/SellingPlanPercentagePriceAdjustment#field-adjustmentPercentage) * <-|[Selling​Plan​Price​Adjustment.orderCount](https://shopify.dev/docs/api/storefront/2024-10/objects/SellingPlanPriceAdjustment#field-orderCount) * <-|[Selling​Plan​Recurring​Billing​Policy.intervalCount](https://shopify.dev/docs/api/storefront/2024-10/objects/SellingPlanRecurringBillingPolicy#field-intervalCount) * <-|[Selling​Plan​Recurring​Delivery​Policy.intervalCount](https://shopify.dev/docs/api/storefront/2024-10/objects/SellingPlanRecurringDeliveryPolicy#field-intervalCount) * <-|[Shop​Pay​Installments​Financing​Plan​Term.apr](https://shopify.dev/docs/api/storefront/2024-10/objects/ShopPayInstallmentsFinancingPlanTerm#field-apr) * <-|[Shop​Pay​Payment​Request​Line​Item.quantity](https://shopify.dev/docs/api/storefront/2024-10/objects/ShopPayPaymentRequestLineItem#field-quantity) * <-|[Store​Availability.quantityAvailable](https://shopify.dev/docs/api/storefront/2024-10/objects/StoreAvailability#field-quantityAvailable) * <-|[Unit​Price​Measurement.referenceValue](https://shopify.dev/docs/api/storefront/2024-10/objects/UnitPriceMeasurement#field-referenceValue) ### Inputs with this scalar * [Cart​Line​Input.quantity](https://shopify.dev/docs/api/storefront/2024-10/input-objects/CartLineInput#field-quantity) * [Cart​Line​Update​Input.quantity](https://shopify.dev/docs/api/storefront/2024-10/input-objects/CartLineUpdateInput#field-quantity) * [Image​Transform​Input.maxWidth](https://shopify.dev/docs/api/storefront/2024-10/input-objects/ImageTransformInput#field-maxWidth) * [Image​Transform​Input.maxHeight](https://shopify.dev/docs/api/storefront/2024-10/input-objects/ImageTransformInput#field-maxHeight) * [Image​Transform​Input.scale](https://shopify.dev/docs/api/storefront/2024-10/input-objects/ImageTransformInput#field-scale) * [Shop​Pay​Payment​Request​Line​Item​Input.quantity](https://shopify.dev/docs/api/storefront/2024-10/input-objects/ShopPayPaymentRequestLineItemInput#field-quantity) ### Queries with this scalar * \[articles.first](https://shopify.dev/docs/api/storefront/2024-10/queries/articles#field-first) * \[articles.last](https://shopify.dev/docs/api/storefront/2024-10/queries/articles#field-last) * \[blogs.first](https://shopify.dev/docs/api/storefront/2024-10/queries/blogs#field-first) * \[blogs.last](https://shopify.dev/docs/api/storefront/2024-10/queries/blogs#field-last) * \[collections.first](https://shopify.dev/docs/api/storefront/2024-10/queries/collections#field-first) * \[collections.last](https://shopify.dev/docs/api/storefront/2024-10/queries/collections#field-last) * \[locations.first](https://shopify.dev/docs/api/storefront/2024-10/queries/locations#field-first) * \[locations.last](https://shopify.dev/docs/api/storefront/2024-10/queries/locations#field-last) * \[metaobjects.first](https://shopify.dev/docs/api/storefront/2024-10/queries/metaobjects#field-first) * \[metaobjects.last](https://shopify.dev/docs/api/storefront/2024-10/queries/metaobjects#field-last) * \[pages.first](https://shopify.dev/docs/api/storefront/2024-10/queries/pages#field-first) * \[pages.last](https://shopify.dev/docs/api/storefront/2024-10/queries/pages#field-last) * \[predictive​Search.limit](https://shopify.dev/docs/api/storefront/2024-10/queries/predictiveSearch#field-limit) * \[product​Tags.first](https://shopify.dev/docs/api/storefront/2024-10/queries/productTags#field-first) * \[product​Types.first](https://shopify.dev/docs/api/storefront/2024-10/queries/productTypes#field-first) * \[products.first](https://shopify.dev/docs/api/storefront/2024-10/queries/products#field-first) * \[products.last](https://shopify.dev/docs/api/storefront/2024-10/queries/products#field-last) * \[search.first](https://shopify.dev/docs/api/storefront/2024-10/queries/search#field-first) * \[search.last](https://shopify.dev/docs/api/storefront/2024-10/queries/search#field-last) * \[url​Redirects.first](https://shopify.dev/docs/api/storefront/2024-10/queries/urlRedirects#field-first) * \[url​Redirects.last](https://shopify.dev/docs/api/storefront/2024-10/queries/urlRedirects#field-last) ### Arguments with this scalar * <-|[Article.comments(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/Article#field-comments) * <-|[Article.comments(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/Article#field-comments) * <-|[Article.content(truncateAt)](https://shopify.dev/docs/api/storefront/2024-10/objects/Article#field-content) * <-|[Article.excerpt(truncateAt)](https://shopify.dev/docs/api/storefront/2024-10/objects/Article#field-excerpt) * <-|[Blog.articles(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/Blog#field-articles) * <-|[Blog.articles(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/Blog#field-articles) * <-|[Cart.deliveryGroups(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/Cart#field-deliveryGroups) * <-|[Cart.deliveryGroups(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/Cart#field-deliveryGroups) * <-|[Cart.lines(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/Cart#field-lines) * <-|[Cart.lines(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/Cart#field-lines) * <-|[Cart​Delivery​Group.cartLines(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/CartDeliveryGroup#field-cartLines) * <-|[Cart​Delivery​Group.cartLines(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/CartDeliveryGroup#field-cartLines) * <-|[Collection.description(truncateAt)](https://shopify.dev/docs/api/storefront/2024-10/objects/Collection#field-description) * <-|[Collection.products(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/Collection#field-products) * <-|[Collection.products(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/Collection#field-products) * <-|[Comment.content(truncateAt)](https://shopify.dev/docs/api/storefront/2024-10/objects/Comment#field-content) * <-|[Customer.addresses(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/Customer#field-addresses) * <-|[Customer.addresses(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/Customer#field-addresses) * <-|[Customer.orders(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/Customer#field-orders) * <-|[Customer.orders(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/Customer#field-orders) * <-|[Fulfillment.fulfillmentLineItems(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/Fulfillment#field-fulfillmentLineItems) * <-|[Fulfillment.fulfillmentLineItems(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/Fulfillment#field-fulfillmentLineItems) * <-|[Fulfillment.trackingInfo(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/Fulfillment#field-trackingInfo) * <-|[Image.transformedSrc(maxWidth)](https://shopify.dev/docs/api/storefront/2024-10/objects/Image#field-transformedSrc) * <-|[Image.transformedSrc(maxHeight)](https://shopify.dev/docs/api/storefront/2024-10/objects/Image#field-transformedSrc) * <-|[Image.transformedSrc(scale)](https://shopify.dev/docs/api/storefront/2024-10/objects/Image#field-transformedSrc) * <-|[Metafield.references(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/Metafield#field-references) * <-|[Metafield.references(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/Metafield#field-references) * <-|[Metaobject​Field.references(first)](https://shopify.dev/docs/api/storefront/2024-10/objects/MetaobjectField#field-references) * <-|[Metaobject​Field.references(last)](https://shopify.dev/docs/api/storefront/2024-10/objects/MetaobjectField#field-references)