--- title: Int - Customer API description: >- Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. api_version: 2026-01 api_name: customer type: scalar api_type: graphql source_url: html: 'https://shopify.dev/docs/api/customer/latest/scalars/Int' md: 'https://shopify.dev/docs/api/customer/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 with this scalar * [Additional​Fee​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/AdditionalFeeSale#field-AdditionalFeeSale.fields.quantity) * [Adjustment​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/AdjustmentSale#field-AdjustmentSale.fields.quantity) * [Calculated​Return​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/CalculatedReturnLineItem#field-CalculatedReturnLineItem.fields.quantity) * [Checkout​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/CheckoutLineItem#field-CheckoutLineItem.fields.quantity) * [Count.count](https://shopify.dev/docs/api/customer/latest/objects/Count#field-Count.fields.count) * [Draft​Order​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/DraftOrderLineItem#field-DraftOrderLineItem.fields.quantity) * [Draft​Order​Line​Items​Summary.lineItemCount](https://shopify.dev/docs/api/customer/latest/objects/DraftOrderLineItemsSummary#field-DraftOrderLineItemsSummary.fields.lineItemCount) * [Draft​Order​Line​Items​Summary.totalQuantityOfLineItems](https://shopify.dev/docs/api/customer/latest/objects/DraftOrderLineItemsSummary#field-DraftOrderLineItemsSummary.fields.totalQuantityOfLineItems) * [Duty​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/DutySale#field-DutySale.fields.quantity) * [Exchange​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/ExchangeLineItem#field-ExchangeLineItem.fields.quantity) * [Fee​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/FeeSale#field-FeeSale.fields.quantity) * [Fulfillment​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/FulfillmentLineItem#field-FulfillmentLineItem.fields.quantity) * [Generic​File.originalFileSize](https://shopify.dev/docs/api/customer/latest/objects/GenericFile#field-GenericFile.fields.originalFileSize) * [Gift​Card​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/GiftCardSale#field-GiftCardSale.fields.quantity) * [Image.height](https://shopify.dev/docs/api/customer/latest/objects/Image#field-Image.fields.height) * [Image.width](https://shopify.dev/docs/api/customer/latest/objects/Image#field-Image.fields.width) * [Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-LineItem.fields.quantity) * [Line​Item.refundableQuantity](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-LineItem.fields.refundableQuantity) * [Line​Item​Group.quantity](https://shopify.dev/docs/api/customer/latest/objects/LineItemGroup#field-LineItemGroup.fields.quantity) * [Metafields​Delete​User​Error.elementIndex](https://shopify.dev/docs/api/customer/latest/objects/MetafieldsDeleteUserError#field-MetafieldsDeleteUserError.fields.elementIndex) * [Metafields​Set​User​Error.elementIndex](https://shopify.dev/docs/api/customer/latest/objects/MetafieldsSetUserError#field-MetafieldsSetUserError.fields.elementIndex) * [Model3d​Source.filesize](https://shopify.dev/docs/api/customer/latest/objects/Model3dSource#field-Model3dSource.fields.filesize) * [Non​Returnable​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/NonReturnableLineItem#field-NonReturnableLineItem.fields.quantity) * [Non​Returnable​Quantity​Detail.quantity](https://shopify.dev/docs/api/customer/latest/objects/NonReturnableQuantityDetail#field-NonReturnableQuantityDetail.fields.quantity) * [Order.number](https://shopify.dev/docs/api/customer/latest/objects/Order#field-Order.fields.number) * [Payment​Icon​Image.height](https://shopify.dev/docs/api/customer/latest/objects/PaymentIconImage#field-PaymentIconImage.fields.height) * [Payment​Icon​Image.width](https://shopify.dev/docs/api/customer/latest/objects/PaymentIconImage#field-PaymentIconImage.fields.width) * [Product​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/ProductSale#field-ProductSale.fields.quantity) * [Return​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/ReturnLineItem#field-ReturnLineItem.fields.quantity) * [Returnable​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/ReturnableLineItem#field-ReturnableLineItem.fields.quantity) ### Inputs with this scalar * [Calculate​Return​Line​Item​Input.quantity](https://shopify.dev/docs/api/customer/latest/input-objects/CalculateReturnLineItemInput#fields-quantity) * [Image​Transform​Input.maxWidth](https://shopify.dev/docs/api/customer/latest/input-objects/ImageTransformInput#fields-maxWidth) * [Image​Transform​Input.maxHeight](https://shopify.dev/docs/api/customer/latest/input-objects/ImageTransformInput#fields-maxHeight) * [Image​Transform​Input.scale](https://shopify.dev/docs/api/customer/latest/input-objects/ImageTransformInput#fields-scale) * [Requested​Line​Item​Input.quantity](https://shopify.dev/docs/api/customer/latest/input-objects/RequestedLineItemInput#fields-quantity) * [Subscription​Billing​Cycle​Selector.index](https://shopify.dev/docs/api/customer/latest/input-objects/SubscriptionBillingCycleSelector#fields-index) ### Arguments with this scalar * [Calculated​Return.returnLineItems(first)](https://shopify.dev/docs/api/customer/latest/objects/CalculatedReturn#field-CalculatedReturn.fields.returnLineItems.arguments.first) * [Calculated​Return.returnLineItems(last)](https://shopify.dev/docs/api/customer/latest/objects/CalculatedReturn#field-CalculatedReturn.fields.returnLineItems.arguments.last) * [Checkout.discountApplications(first)](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-Checkout.fields.discountApplications.arguments.first) * [Checkout.discountApplications(last)](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-Checkout.fields.discountApplications.arguments.last) * [Checkout.lineItems(first)](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-Checkout.fields.lineItems.arguments.first) * [Checkout.lineItems(last)](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-Checkout.fields.lineItems.arguments.last) * [Company.draftOrders(first)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-Company.fields.draftOrders.arguments.first) * [Company.draftOrders(last)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-Company.fields.draftOrders.arguments.last) * [Company.locations(first)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-Company.fields.locations.arguments.first) * [Company.locations(last)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-Company.fields.locations.arguments.last) * [Company.orders(first)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-Company.fields.orders.arguments.first) * [Company.orders(last)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-Company.fields.orders.arguments.last) * [Company​Contact.draftOrders(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-CompanyContact.fields.draftOrders.arguments.first) * [Company​Contact.draftOrders(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-CompanyContact.fields.draftOrders.arguments.last) * [Company​Contact.locations(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-CompanyContact.fields.locations.arguments.first) * [Company​Contact.locations(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-CompanyContact.fields.locations.arguments.last) * [Company​Contact.orders(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-CompanyContact.fields.orders.arguments.first) * [Company​Contact.orders(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-CompanyContact.fields.orders.arguments.last) * [Company​Location.contacts(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.contacts.arguments.first) * [Company​Location.contacts(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.contacts.arguments.last) * [Company​Location.draftOrders(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.draftOrders.arguments.first) * [Company​Location.draftOrders(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.draftOrders.arguments.last) * [Company​Location.orders(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.orders.arguments.first) * [Company​Location.orders(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.orders.arguments.last) * [Company​Location.roleAssignments(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.roleAssignments.arguments.first) * [Company​Location.roleAssignments(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.roleAssignments.arguments.last) * [Company​Location.storeCreditAccounts(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.storeCreditAccounts.arguments.first) * [Company​Location.storeCreditAccounts(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.storeCreditAccounts.arguments.last) * [Customer.addresses(first)](https://shopify.dev/docs/api/customer/latest/objects/Customer#field-Customer.fields.addresses.arguments.first) * [Customer.addresses(last)](https://shopify.dev/docs/api/customer/latest/objects/Customer#field-Customer.fields.addresses.arguments.last)