--- 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: 2025-10 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-quantity) * <-|[Adjustment​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/AdjustmentSale#field-quantity) * <-|[Calculated​Return​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/CalculatedReturnLineItem#field-quantity) * <-|[Checkout​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/CheckoutLineItem#field-quantity) * <-|[Count.count](https://shopify.dev/docs/api/customer/latest/objects/Count#field-count) * <-|[Draft​Order​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/DraftOrderLineItem#field-quantity) * <-|[Draft​Order​Line​Items​Summary.lineItemCount](https://shopify.dev/docs/api/customer/latest/objects/DraftOrderLineItemsSummary#field-lineItemCount) * <-|[Draft​Order​Line​Items​Summary.totalQuantityOfLineItems](https://shopify.dev/docs/api/customer/latest/objects/DraftOrderLineItemsSummary#field-totalQuantityOfLineItems) * <-|[Duty​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/DutySale#field-quantity) * <-|[Exchange​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/ExchangeLineItem#field-quantity) * <-|[Fee​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/FeeSale#field-quantity) * <-|[Fulfillment​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/FulfillmentLineItem#field-quantity) * <-|[Gift​Card​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/GiftCardSale#field-quantity) * <-|[Image.height](https://shopify.dev/docs/api/customer/latest/objects/Image#field-height) * <-|[Image.width](https://shopify.dev/docs/api/customer/latest/objects/Image#field-width) * <-|[Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-quantity) * <-|[Line​Item.refundableQuantity](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-refundableQuantity) * <-|[Line​Item​Group.quantity](https://shopify.dev/docs/api/customer/latest/objects/LineItemGroup#field-quantity) * <-|[Metafields​Delete​User​Error.elementIndex](https://shopify.dev/docs/api/customer/latest/objects/MetafieldsDeleteUserError#field-elementIndex) * <-|[Metafields​Set​User​Error.elementIndex](https://shopify.dev/docs/api/customer/latest/objects/MetafieldsSetUserError#field-elementIndex) * <-|[Non​Returnable​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/NonReturnableLineItem#field-quantity) * <-|[Non​Returnable​Quantity​Detail.quantity](https://shopify.dev/docs/api/customer/latest/objects/NonReturnableQuantityDetail#field-quantity) * <-|[Order.number](https://shopify.dev/docs/api/customer/latest/objects/Order#field-number) * <-|[Payment​Icon​Image.height](https://shopify.dev/docs/api/customer/latest/objects/PaymentIconImage#field-height) * <-|[Payment​Icon​Image.width](https://shopify.dev/docs/api/customer/latest/objects/PaymentIconImage#field-width) * <-|[Product​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/ProductSale#field-quantity) * <-|[Return​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/ReturnLineItem#field-quantity) * <-|[Returnable​Line​Item.quantity](https://shopify.dev/docs/api/customer/latest/objects/ReturnableLineItem#field-quantity) * <-|[Shipping​Line​Sale.quantity](https://shopify.dev/docs/api/customer/latest/objects/ShippingLineSale#field-quantity) * <-|[Subscription​Billing​Cycle.cycleIndex](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionBillingCycle#field-cycleIndex) ### Inputs with this scalar * [Calculate​Return​Line​Item​Input.quantity](https://shopify.dev/docs/api/customer/latest/input-objects/CalculateReturnLineItemInput#field-quantity) * [Image​Transform​Input.maxWidth](https://shopify.dev/docs/api/customer/latest/input-objects/ImageTransformInput#field-maxWidth) * [Image​Transform​Input.maxHeight](https://shopify.dev/docs/api/customer/latest/input-objects/ImageTransformInput#field-maxHeight) * [Image​Transform​Input.scale](https://shopify.dev/docs/api/customer/latest/input-objects/ImageTransformInput#field-scale) * [Requested​Line​Item​Input.quantity](https://shopify.dev/docs/api/customer/latest/input-objects/RequestedLineItemInput#field-quantity) * [Subscription​Billing​Cycle​Selector.index](https://shopify.dev/docs/api/customer/latest/input-objects/SubscriptionBillingCycleSelector#field-index) ### Arguments with this scalar * <-|[Calculated​Return.returnLineItems(first)](https://shopify.dev/docs/api/customer/latest/objects/CalculatedReturn#field-returnLineItems) * <-|[Calculated​Return.returnLineItems(last)](https://shopify.dev/docs/api/customer/latest/objects/CalculatedReturn#field-returnLineItems) * <-|[Checkout.discountApplications(first)](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-discountApplications) * <-|[Checkout.discountApplications(last)](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-discountApplications) * <-|[Checkout.lineItems(first)](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-lineItems) * <-|[Checkout.lineItems(last)](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-lineItems) * <-|[Company.draftOrders(first)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-draftOrders) * <-|[Company.draftOrders(last)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-draftOrders) * <-|[Company.locations(first)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-locations) * <-|[Company.locations(last)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-locations) * <-|[Company.orders(first)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-orders) * <-|[Company.orders(last)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-orders) * <-|[Company​Contact.draftOrders(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-draftOrders) * <-|[Company​Contact.draftOrders(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-draftOrders) * <-|[Company​Contact.locations(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-locations) * <-|[Company​Contact.locations(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-locations) * <-|[Company​Contact.orders(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-orders) * <-|[Company​Contact.orders(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-orders) * <-|[Company​Location.contacts(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-contacts) * <-|[Company​Location.contacts(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-contacts) * <-|[Company​Location.draftOrders(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-draftOrders) * <-|[Company​Location.draftOrders(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-draftOrders) * <-|[Company​Location.orders(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-orders) * <-|[Company​Location.orders(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-orders) * <-|[Company​Location.roleAssignments(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-roleAssignments) * <-|[Company​Location.roleAssignments(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-roleAssignments) * <-|[Company​Location.storeCreditAccounts(first)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-storeCreditAccounts) * <-|[Company​Location.storeCreditAccounts(last)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-storeCreditAccounts) * <-|[Customer.addresses(first)](https://shopify.dev/docs/api/customer/latest/objects/Customer#field-addresses) * <-|[Customer.addresses(last)](https://shopify.dev/docs/api/customer/latest/objects/Customer#field-addresses)