bulkUpdateProducts
Create and process an asynchronous operation that updates existing products with the provided information.
Process Notifications
Use the response processId to get notifications via processStatusSubscription subscription.
Process Tracking
Use the processStatus query with the response processId to retrieve process status and progress.
The completion percentage of the process can be extracted through the metadata of ProcessStatusPayload.
Example:
{
...
metadata: {
completion_percentage: 50.0,
succeeded_count: 10,
failed_count: 3,
total_count: 26
}
}
Authentication Requirements
Requires authentication and 'update_product' permission.
Validation Rules
- Each item should follow the rules required for
updateProductmutation
Possible Errors
- **Authentication Error**: User not authenticated or lacks permissions
- **Validation Error**: Payload exceeds the maximum allowed products per request.
- **DuplicatesFound Error**: The same product appears more than once in payload.
bulkUpdateProducts(
input: BulkUpdateProductsInput!
): AsynchronousActionResponse!
Arguments
bulkUpdateProducts.input ● BulkUpdateProductsInput! non-null input
Parameters for BulkUpdateProducts
Type
AsynchronousActionResponse object
Asynchronous action response type