updateProductAttributeDefinitions
Create and process an asynchronous operation that updates new product attribute definitions for the provided brand.
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.
Example:
{
status: 'COMPLETED',
statusMessage: 'Product attribute definitions updated successfully'
}
Authentication Requirements
Requires authentication and 'brand:update_product_attribute_definition' permission.
Validation Rules
- Brand must exist
- Product attribute definition must exist
- Product attribute definition name must not be blank
- At least one update property must be provided
- A product attribute definition with the same name must not exist
Possible Errors
- **Authentication Error**: User not authenticated or lacks permissions
- **Validation Error**: Any validation rule is violated
updateProductAttributeDefinitions(
input: UpdateProductAttributeDefinitionsInput!
): AsynchronousActionResponse!
Arguments
updateProductAttributeDefinitions.input ● UpdateProductAttributeDefinitionsInput! non-null input
Parameters for UpdateProductAttributeDefinitions
Type
AsynchronousActionResponse object
Asynchronous action response type