supplyDeleteContact
Deletes a contact person from a supplier in your supply chain. The contact is soft-deleted, preserving historical records.
Authentication & Permissions
Requires the supply:delete_contact permission.
Validation Rules
- The specified contact must exist
- Cannot delete a contact that is currently set as the default contact
Soft Delete Behavior
The contact is not permanently removed from the database. Instead, it is marked as deleted (soft delete), which allows maintaining data integrity and historical records while removing it from active use.
Possible Errors
- **Contact not found**: The specified contact ID does not exist
- **Cannot delete default contact**: The contact is currently the default contact for the supplier. You must set a different default contact first.
supplyDeleteContact(
input: DeleteSupplierContactInput!
): StatusResponse
Arguments
supplyDeleteContact.input ● DeleteSupplierContactInput! non-null input
Parameters for DeleteSupplierContact
Type
StatusResponse object
The response of a mutation that only returns a status