Skip to main content

supplyAddContact

Creates a new contact person for a supplier in your supply chain. This allows you to manage multiple contact points for each supplier.

Authentication & Permissions​

Requires the supply:add_contact permission.

Validation Rules​

  • Each contact must have a unique name within the same supplier
  • Email addresses must be unique within the same supplier (if provided)
  • The specified supplier must exist in your brand

Default Contact Behavior​

When default_contact is set to true, the newly created contact will be set as the supplier's primary contact reference.

Possible Errors​

  • **Supplier not found**: The specified supplier ID does not exist
  • **Duplicate contact name**: A contact with this name already exists for this supplier
  • **Duplicate email**: A contact with this email already exists for this supplier
  • **Invalid email format**: The provided email address format is invalid

Plan Requirement​

Requires a plan that includes the supply chain module. Companies on Studio receive an ALLOWANCE_DENIED (402) error.

supplyAddContact(
input: AddSupplierContactInput!
): SupplySupplierContact

Arguments​

supplyAddContact.input ● AddSupplierContactInput! non-null input common​

Parameters for AddSupplierContact

Type​

SupplySupplierContact object suppliers​

A contact person for a supplier.