Skip to main content

Delete a product association

Important

The GraphQL API for Product Associations is currently in Preview status for customers on the AWS-US cluster. For more information, see GraphQL API policy.

Use the deleteProductEditionAssociation mutation to remove a product association.

To delete a product association, you must supply the ID of the product association to be deleted.

Mutation

mutation deleteProductEditionAssociation($input: DeleteProductEditionAssociationInput!) {
deleteProductEditionAssociation(input: $input) {
success
userErrors
}
}

Variables

{
"input": {
"id": a33d00e7-58f2-4bff-8cf4-fda99c15e8fe
}
}

Response

{
"data": {
"deleteProductEditionAssociation": {
"success": true
}
}
}

Was this page helpful?