--- title: Boolean - Storefront API description: Represents `true` or `false` values. api_version: 2025-10 api_name: storefront type: scalar api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/scalars/Boolean md: https://shopify.dev/docs/api/storefront/latest/scalars/Boolean.md --- # Boolean scalar Represents `true` or `false` values. ## Map ### Fields with this scalar * <-|[Api​Version.supported](https://shopify.dev/docs/api/storefront/latest/objects/ApiVersion#field-ApiVersion.fields.supported) * <-|[Cart​Cost.subtotalAmountEstimated](https://shopify.dev/docs/api/storefront/latest/objects/CartCost#field-CartCost.fields.subtotalAmountEstimated) * <-|[Cart​Cost.totalAmountEstimated](https://shopify.dev/docs/api/storefront/latest/objects/CartCost#field-CartCost.fields.totalAmountEstimated) * <-|[Cart​Discount​Code.applicable](https://shopify.dev/docs/api/storefront/latest/objects/CartDiscountCode#field-CartDiscountCode.fields.applicable) * <-|[Cart​Line​Instructions.canRemove](https://shopify.dev/docs/api/storefront/latest/objects/CartLineInstructions#field-CartLineInstructions.fields.canRemove) * <-|[Cart​Line​Instructions.canUpdateQuantity](https://shopify.dev/docs/api/storefront/latest/objects/CartLineInstructions#field-CartLineInstructions.fields.canUpdateQuantity) * <-|[Cart​Selectable​Address.oneTimeUse](https://shopify.dev/docs/api/storefront/latest/objects/CartSelectableAddress#field-CartSelectableAddress.fields.oneTimeUse) * <-|[Cart​Selectable​Address.selected](https://shopify.dev/docs/api/storefront/latest/objects/CartSelectableAddress#field-CartSelectableAddress.fields.selected) * <-|[Customer.acceptsMarketing](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-Customer.fields.acceptsMarketing) * <-|[Discount​Code​Application.applicable](https://shopify.dev/docs/api/storefront/latest/objects/DiscountCodeApplication#field-DiscountCodeApplication.fields.applicable) * <-|[Domain.sslEnabled](https://shopify.dev/docs/api/storefront/latest/objects/Domain#field-Domain.fields.sslEnabled) * <-|[Order.edited](https://shopify.dev/docs/api/storefront/latest/objects/Order#field-Order.fields.edited) * <-|[Page​Info.hasNextPage](https://shopify.dev/docs/api/storefront/latest/objects/PageInfo#field-PageInfo.fields.hasNextPage) * <-|[Page​Info.hasPreviousPage](https://shopify.dev/docs/api/storefront/latest/objects/PageInfo#field-PageInfo.fields.hasPreviousPage) * <-|[Paginated​Sitemap​Resources.hasNextPage](https://shopify.dev/docs/api/storefront/latest/objects/PaginatedSitemapResources#field-PaginatedSitemapResources.fields.hasNextPage) * <-|[Product.availableForSale](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.availableForSale) * <-|[Product.isGiftCard](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.isGiftCard) * <-|[Product.requiresSellingPlan](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.requiresSellingPlan) * <-|[Product​Variant.availableForSale](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant#field-ProductVariant.fields.availableForSale) * <-|[Product​Variant.currentlyNotInStock](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant#field-ProductVariant.fields.currentlyNotInStock) * <-|[Product​Variant.requiresComponents](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant#field-ProductVariant.fields.requiresComponents) * <-|[Product​Variant.requiresShipping](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant#field-ProductVariant.fields.requiresShipping) * <-|[Product​Variant.taxable](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant#field-ProductVariant.fields.taxable) * <-|[Selling​Plan.recurringDeliveries](https://shopify.dev/docs/api/storefront/latest/objects/SellingPlan#field-SellingPlan.fields.recurringDeliveries) * <-|[Shop​Pay​Installments​Product​Variant​Pricing.available](https://shopify.dev/docs/api/storefront/latest/objects/ShopPayInstallmentsProductVariantPricing#field-ShopPayInstallmentsProductVariantPricing.fields.available) * <-|[Shop​Pay​Installments​Product​Variant​Pricing.eligible](https://shopify.dev/docs/api/storefront/latest/objects/ShopPayInstallmentsProductVariantPricing#field-ShopPayInstallmentsProductVariantPricing.fields.eligible) * <-|[Shop​Pay​Payment​Request​Line​Item.requiresShipping](https://shopify.dev/docs/api/storefront/latest/objects/ShopPayPaymentRequestLineItem#field-ShopPayPaymentRequestLineItem.fields.requiresShipping) * <-|[Store​Availability.available](https://shopify.dev/docs/api/storefront/latest/objects/StoreAvailability#field-StoreAvailability.fields.available) ### Inputs with this scalar * [Cart​Selectable​Address​Input.selected](https://shopify.dev/docs/api/storefront/latest/input-objects/CartSelectableAddressInput#fields-selected) * [Cart​Selectable​Address​Input.oneTimeUse](https://shopify.dev/docs/api/storefront/latest/input-objects/CartSelectableAddressInput#fields-oneTimeUse) * [Cart​Selectable​Address​Update​Input.selected](https://shopify.dev/docs/api/storefront/latest/input-objects/CartSelectableAddressUpdateInput#fields-selected) * [Cart​Selectable​Address​Update​Input.oneTimeUse](https://shopify.dev/docs/api/storefront/latest/input-objects/CartSelectableAddressUpdateInput#fields-oneTimeUse) * [Customer​Create​Input.acceptsMarketing](https://shopify.dev/docs/api/storefront/latest/input-objects/CustomerCreateInput#fields-acceptsMarketing) * [Customer​Update​Input.acceptsMarketing](https://shopify.dev/docs/api/storefront/latest/input-objects/CustomerUpdateInput#fields-acceptsMarketing) * [Delivery​Address​Input.oneTimeUse](https://shopify.dev/docs/api/storefront/latest/input-objects/DeliveryAddressInput#fields-oneTimeUse) * [Product​Filter.available](https://shopify.dev/docs/api/storefront/latest/input-objects/ProductFilter#fields-available) * [Shop​Pay​Payment​Request​Line​Item​Input.requiresShipping](https://shopify.dev/docs/api/storefront/latest/input-objects/ShopPayPaymentRequestLineItemInput#fields-requiresShipping) * [Visitor​Consent.preferences](https://shopify.dev/docs/api/storefront/latest/input-objects/VisitorConsent#fields-preferences) * [Visitor​Consent.analytics](https://shopify.dev/docs/api/storefront/latest/input-objects/VisitorConsent#fields-analytics) * [Visitor​Consent.marketing](https://shopify.dev/docs/api/storefront/latest/input-objects/VisitorConsent#fields-marketing) * [Visitor​Consent.saleOfData](https://shopify.dev/docs/api/storefront/latest/input-objects/VisitorConsent#fields-saleOfData) ### Arguments with this scalar * <-|[Article.comments(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.comments.arguments.reverse) * <-|[Blog.articles(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.articles.arguments.reverse) * <-|[Cart.deliveryGroups(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.deliveryGroups.arguments.reverse) * <-|[Cart.deliveryGroups(withCarrierRates)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.deliveryGroups.arguments.withCarrierRates) * <-|[Cart.lines(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.lines.arguments.reverse) * <-|[Cart​Delivery.addresses(selected)](https://shopify.dev/docs/api/storefront/latest/objects/CartDelivery#field-CartDelivery.fields.addresses.arguments.selected) * <-|[Cart​Delivery​Address.formatted(withName)](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryAddress#field-CartDeliveryAddress.fields.formatted.arguments.withName) * <-|[Cart​Delivery​Address.formatted(withCompany)](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryAddress#field-CartDeliveryAddress.fields.formatted.arguments.withCompany) * <-|[Cart​Delivery​Group.cartLines(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryGroup#field-CartDeliveryGroup.fields.cartLines.arguments.reverse) * <-|[Collection.products(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-Collection.fields.products.arguments.reverse) * <-|[Customer.addresses(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-Customer.fields.addresses.arguments.reverse) * <-|[Customer.orders(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-Customer.fields.orders.arguments.reverse) * <-|[Fulfillment.fulfillmentLineItems(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Fulfillment#field-Fulfillment.fields.fulfillmentLineItems.arguments.reverse) * <-|[Mailing​Address.formatted(withName)](https://shopify.dev/docs/api/storefront/latest/objects/MailingAddress#field-MailingAddress.fields.formatted.arguments.withName) * <-|[Mailing​Address.formatted(withCompany)](https://shopify.dev/docs/api/storefront/latest/objects/MailingAddress#field-MailingAddress.fields.formatted.arguments.withCompany) * <-|[Order.discountApplications(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Order#field-Order.fields.discountApplications.arguments.reverse) * <-|[Order.lineItems(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Order#field-Order.fields.lineItems.arguments.reverse) * <-|[Product.adjacentVariants(ignoreUnknownOptions)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.adjacentVariants.arguments.ignoreUnknownOptions) * <-|[Product.adjacentVariants(caseInsensitiveMatch)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.adjacentVariants.arguments.caseInsensitiveMatch) * <-|[Product.collections(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.collections.arguments.reverse) * <-|[Product.images(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.images.arguments.reverse) * <-|[Product.media(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.media.arguments.reverse) * <-|[Product.selectedOrFirstAvailableVariant(ignoreUnknownOptions)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.selectedOrFirstAvailableVariant.arguments.ignoreUnknownOptions) * <-|[Product.selectedOrFirstAvailableVariant(caseInsensitiveMatch)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.selectedOrFirstAvailableVariant.arguments.caseInsensitiveMatch) * <-|[Product.sellingPlanGroups(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.sellingPlanGroups.arguments.reverse) * <-|[Product.variantBySelectedOptions(ignoreUnknownOptions)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.variantBySelectedOptions.arguments.ignoreUnknownOptions) * <-|[Product.variantBySelectedOptions(caseInsensitiveMatch)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.variantBySelectedOptions.arguments.caseInsensitiveMatch) * <-|[Product.variants(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.variants.arguments.reverse) * <-|[Product​Variant.sellingPlanAllocations(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant#field-ProductVariant.fields.sellingPlanAllocations.arguments.reverse) * <-|[Product​Variant.storeAvailability(reverse)](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant#field-ProductVariant.fields.storeAvailability.arguments.reverse)