Skip to main content
Anchor to ProductBundleOperation

ProductBundleOperation

object

Requires read_products access scope.

An entity that represents details of an asynchronous ProductBundleCreate or ProductBundleUpdate mutation.

By querying this entity with the productOperation query using the ID that was returned when the bundle was created or updated, this can be used to check the status of an operation.

The status field indicates whether the operation is CREATED, ACTIVE, or COMPLETE.

The product field provides the details of the created or updated product.

The userErrors field provides mutation errors that occurred during the operation.

•ID!
non-null

A globally-unique ID.

•Product

The product on which the operation is being performed.

Show fields
•ProductOperationStatus!
non-null

The status of this operation.

Show enum values
•[ProductBundleMutationUserError!]!
non-null

Returns mutation errors occurred during background mutation processing.

Show fields

Was this section helpful?

•mutation

Creates a product bundle that groups multiple Product objects together as components. The bundle appears as a single product in the store, with its price determined by the parent product and inventory calculated from the component products.

The mutation runs asynchronously and returns a ProductBundleOperation object to track the creation status. Poll the operation using the productOperation query to determine when the bundle is ready.

Learn more about creating product fixed bundles.

Show payload

Arguments

•ProductBundleCreateInput!
required

Input for creating a product bundle or componentized product.

Show input fields

•mutation

Updates a product bundle or componentized product.

Show payload

Arguments

•ProductBundleUpdateInput!
required

Input for updating a product bundle or componentized product.

Show input fields


Was this section helpful?

•interface

Was this section helpful?