productDelete
mutation
Delete products
Permanently removes one or more products by their IDs. Products referenced in existing documents cannot be deleted.
mutation {
productDelete(companyId: Int!, productId: [Int]!): DeletionError!
}Returns: DeletionError!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
productId | [Int]! |