Schema Documentation
bundleProduct
Use "product" instead.
Description
A bundle product object
Response
Returns a BundleProduct
Arguments
Name | Description |
---|---|
id - ID | The ID for identifying the BundleProduct product |
idType - ProductIdTypeEnum | Type of ID being used identify product |
Example
Query
query bundleProduct( $id: ID, $idType: ProductIdTypeEnum){ bundleProduct( id: $id, idType: $idType ){ addToCartFormLocationaddons { ...ProductAddonFieldFragment }allPaColor { ...ProductToPaColorConnectionFragment }allPaSize { ...ProductToPaSizeConnectionFragment }attributes { ...ProductToProductAttributeConnectionFragment }averageRatingbackordersbackordersAllowedbundleItems { ...BundleProductToProductConnectionFragment }catalogVisibilitycommentCountcommentStatuscomments { ...ProductToCommentsConnectionFragment }contentcontentType { ...ContentNodeToContentTypeConnectionEdgeFragment }contentTypeNamedatabaseIddatedateGmtdateOnSaleFromdateOnSaleTodefaultAttributes { ...ProductWithAttributesToVariationAttributeConnectionFragment }descriptiondesiredSlugeditableInCarteditingLockedBy { ...ContentNodeToEditLockConnectionEdgeFragment }editorBlocks { ...ProductEditorBlockFragment }enclosureenqueuedScripts { ...ContentNodeToEnqueuedScriptConnectionFragment }enqueuedStylesheets { ...ContentNodeToEnqueuedStylesheetConnectionFragment }excerptfeaturedfeaturedImage { ...NodeWithFeaturedImageToMediaItemConnectionEdgeFragment }featuredImageDatabaseIdfeaturedImageIdgalleryImages { ...ProductToMediaItemConnectionFragment }globalAttributes { ...ProductToGlobalProductAttributeConnectionFragment }groupModeguidheightidimage { ...MediaItemFragment }isContentNodeisPreviewisRestrictedisTermNodelastEditedBy { ...ContentNodeToEditLastConnectionEdgeFragment }layoutlengthlinklocalAttributes { ...ProductToLocalProductAttributeConnectionFragment }lowStockAmountmanageStockmaxBundleSizemenuOrdermetaData { ...MetaDataFragment }minBundleSizemodifiedmodifiedGmtnameonSalepreview { ...ProductToPreviewConnectionEdgeFragment }previewRevisionDatabaseIdpreviewRevisionIdpriceproductCategories { ...ProductToProductCategoryConnectionFragment }productIdproductTags { ...ProductToProductTagConnectionFragment }productTypes { ...ProductToProductTypeConnectionFragment }purchasablepurchaseNoteregularPricerelated { ...ProductToProductUnionConnectionFragment }reviewCountreviews { ...ProductToCommentConnectionFragment }reviewsAllowedsalePriceseo { ...PostTypeSEOFragment }shippingClassIdshippingClasses { ...ProductToShippingClassConnectionFragment }shippingRequiredshippingTaxableshortDescriptionskuslugsoldIndividuallystatusstockQuantitystockStatustaxClasstaxStatustemplate { ...ContentTemplateFragment }terms { ...ProductToTermNodeConnectionFragment }titletotalSalestypeupsell { ...ProductToUpsellConnectionFragment }urivisibleProducts { ...ProductToVisibleProductConnectionFragment }weightwidth }}
Variables
{"id":"4","idType":"DATABASE_ID"}
Response
{"data":{"bundleProduct":{"addToCartFormLocation":"xyz789","addons":[ProductAddonField],"allPaColor":ProductToPaColorConnection,"allPaSize":ProductToPaSizeConnection,"attributes":ProductToProductAttributeConnection,"averageRating":123.45,"backorders":"NO","backordersAllowed":true,"bundleItems":BundleProductToProductConnection,"catalogVisibility":"CATALOG","commentCount":123,"commentStatus":"xyz789","comments":ProductToCommentsConnection,"content":"abc123","contentType":ContentNodeToContentTypeConnectionEdge,"contentTypeName":"xyz789","databaseId":123,"date":"abc123","dateGmt":"abc123","dateOnSaleFrom":"abc123","dateOnSaleTo":"abc123","defaultAttributes":ProductWithAttributesToVariationAttributeConnection,"description":"xyz789","desiredSlug":"abc123","editableInCart":true,"editingLockedBy":ContentNodeToEditLockConnectionEdge,"editorBlocks":[ProductEditorBlock],"enclosure":"xyz789","enqueuedScripts":ContentNodeToEnqueuedScriptConnection,"enqueuedStylesheets":ContentNodeToEnqueuedStylesheetConnection,"excerpt":"xyz789","featured":false,"featuredImage":NodeWithFeaturedImageToMediaItemConnectionEdge,"featuredImageDatabaseId":987,"featuredImageId":4,"galleryImages":ProductToMediaItemConnection,"globalAttributes":ProductToGlobalProductAttributeConnection,"groupMode":"abc123","guid":"abc123","height":"abc123","id":"4","image":MediaItem,"isContentNode":true,"isPreview":false,"isRestricted":true,"isTermNode":true,"lastEditedBy":ContentNodeToEditLastConnectionEdge,"layout":"abc123","length":"abc123","link":"xyz789","localAttributes":ProductToLocalProductAttributeConnection,"lowStockAmount":987,"manageStock":"FALSE","maxBundleSize":123,"menuOrder":123,"metaData":[MetaData],"minBundleSize":987,"modified":"xyz789","modifiedGmt":"abc123","name":"abc123","onSale":true,"preview":ProductToPreviewConnectionEdge,"previewRevisionDatabaseId":987,"previewRevisionId":"4","price":"abc123","productCategories":ProductToProductCategoryConnection,"productId":987,"productTags":ProductToProductTagConnection,"productTypes":ProductToProductTypeConnection,"purchasable":false,"purchaseNote":"abc123","regularPrice":"xyz789","related":ProductToProductUnionConnection,"reviewCount":987,"reviews":ProductToCommentConnection,"reviewsAllowed":true,"salePrice":"abc123","seo":PostTypeSEO,"shippingClassId":123,"shippingClasses":ProductToShippingClassConnection,"shippingRequired":false,"shippingTaxable":true,"shortDescription":"xyz789","sku":"abc123","slug":"abc123","soldIndividually":false,"status":"xyz789","stockQuantity":987,"stockStatus":"IN_STOCK","taxClass":"INHERIT_CART","taxStatus":"NONE","template":ContentTemplate,"terms":ProductToTermNodeConnection,"title":"xyz789","totalSales":123,"type":"BUNDLE","upsell":ProductToUpsellConnection,"uri":"xyz789","visibleProducts":ProductToVisibleProductConnection,"weight":"xyz789","width":"xyz789"}}}