inventorySupplierDeleteReporting Mutation
Description
Deletes a reporting relationship for a supplier.
mutation inventorySupplierDeleteReporting(
$supplierRef: ID!
$reportingRef: ID!
) {
inventorySupplierDeleteReporting(
supplierRef: $supplierRef
reportingRef: $reportingRef
) {
_id
createdAt
modifiedAt
name
addresses {
_id
description
firstName
lastName
addressLine1
addressLine2
streetNumber
city
state
stateCode
postCode
alpha2
country
type
}
contacts {
firstName
lastName
email
telephone
organisation
}
taxInformation
}
}
Variables
{
"supplierRef": "6e0e1c099f34be683e0c48a7",
"reportingRef": "05fbb1aeca34315587844799"
}
Response
{
"inventorySupplierDeleteReporting": {
"_id": "b4001c83440893e6e2aba346",
"createdAt": 1761226956992,
"modifiedAt": 1740774683607,
"name": "example",
"addresses": [
{
"_id": "fc11a9d9ffc39b0fd4c087b6",
"description": "example",
"firstName": "example",
"lastName": "example",
"addressLine1": "example",
"addressLine2": "example",
"streetNumber": 42,
"city": "example",
"state": "example",
"stateCode": "example",
"postCode": "example",
"alpha2": "example",
"country": "example",
"type": "example"
}
],
"contacts": [
{
"firstName": "example",
"lastName": "example",
"email": "email@example.com",
"telephone": "example",
"organisation": "example"
}
],
"taxInformation": "example"
}
}
Arguments
| Name | Type | Description |
|---|---|---|
supplierRef | ID! | Reference ID of the supplier to delete reporting for. |
reportingRef | ID! | Reference ID of the specific reporting relationship to delete. |