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.

ProductOperationStatus!
non-null

The status of this operation.

[ProductBundleMutationUserError!]!
non-null

Returns mutation errors occurred during background mutation processing.


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.

mutation

Updates a product bundle or componentized product.


Was this section helpful?


Was this section helpful?