linkProductImages
Create and process an asynchronous operation that links existing images to products.
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.
Business Rules
- All referenced products must belong to the current company.
- All referenced images must belong to the current company.
- Existing associations are treated as a success (idempotent).
- The user must have permission for 'media:update_image' to link images to products.
Error Scenarios
- **Authentication Error**: User not authenticated or lacks permissions
- **Validation Error**: Payload exceeds the maximum allowed associations per request.
linkProductImages(
input: LinkProductImagesInput!
): AsynchronousActionResponse!
Arguments
linkProductImages.input ● LinkProductImagesInput! non-null input common
Parameters for LinkProductImages
Type
AsynchronousActionResponse object common
Asynchronous action response type