Skip to main content
query

Returns a ProductOperation resource by ID.

This can be used to query the ProductSetOperation, using the ID that was returned when the product was created or updated by the ProductSet mutation.

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

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

For the ProductSetOperation, the userErrors field provides mutation errors that occurred during the operation.

•ID!
required

The ID of the ProductOperation to return.


Was this section helpful?

•ProductOperation

An interface representing asynchronous operations on products. Tracks the status and details of background product mutations like productSet, productDelete, productDuplicate, and productBundle operations. Provides status field (CREATED, ACTIVE, COMPLETE) and product field to monitor long-running product operations.

•Product

The product on which the operation is being performed.

•ProductOperationStatus!
non-null

The status of this operation.


Was this section helpful?