SupplySupplier
Represents a supplier in the supply chain management system.
Supply suppliers are external parties that provide materials, products, or services to the supply chain. Each supplier maintains comprehensive business information, performance metrics, and operational details that help with supplier management and procurement decisions.
Supplier Information
- **Business Details**: Name, contact information, location, and establishment year
- **Performance Metrics**: Quality ratings, on-time delivery rates, response times
- **Financial Terms**: Payment terms, shipping terms, tax information
- **Operational Data**: Lead times, business hours, time zones, and Incoterms
Status Management
Suppliers can be active or inactive, allowing for proper lifecycle management without losing historical data and relationships.
Relationships
Each supplier belongs to a brand and can be associated with multiple products and addresses for comprehensive supplier management.
type SupplySupplier {
address: Address
addresses: [Address!]!
brand: Brand!
brandId: ID!
businessHours: String
category: String
contact: SupplySupplierContact
contacts: [SupplySupplierContact!]!
createdAt: ISO8601DateTime!
deletedAt: ISO8601DateTime
email: String
id: ID!
incoterms: String
lastPurchaseDate: ISO8601DateTime
leadTime: Int
location: String
name: String!
notes: String
onTimeDelivery: BigDecimal
paymentTerms: String
phone: String
products: [Product!]!
qualityRating: BigDecimal
responseTime: BigDecimal
shippingTerms: String
status: SupplySupplierStatusEnum!
taxId: String
timeZone: String
totalCost: MonetaryValue
updatedAt: ISO8601DateTime!
website: String
yearEstablished: Int
}
Fields
SupplySupplier.address ● Address object
Primary address of the supplier (first in the list)
SupplySupplier.addresses ● [Address!]! non-null object
Addresses associated with this supplier
SupplySupplier.brand ● Brand! non-null object
Brand this supplier belongs to
SupplySupplier.brandId ● ID! non-null scalar
ID of the brand this supplier belongs to
SupplySupplier.businessHours ● String scalar
Business operating hours
SupplySupplier.category ● String scalar
Category or type of supplier
SupplySupplier.contact ● SupplySupplierContact object
Primary contact person for this supplier
SupplySupplier.contacts ● [SupplySupplierContact!]! non-null object
All contact persons associated with this supplier
SupplySupplier.createdAt ● ISO8601DateTime! non-null scalar
Creation timestamp
SupplySupplier.deletedAt ● ISO8601DateTime scalar
Soft deletion timestamp
SupplySupplier.email ● String scalar
Email address of the supplier
SupplySupplier.id ● ID! non-null scalar
ID of the supplier
SupplySupplier.incoterms ● String scalar
International Commercial Terms (Incoterms)
SupplySupplier.lastPurchaseDate ● ISO8601DateTime scalar
Timestamp of the last purchase made from this supplier
SupplySupplier.leadTime ● Int scalar
Lead time in days for orders from this supplier
SupplySupplier.location ● String scalar
Location of the supplier
SupplySupplier.name ● String! non-null scalar
Name of the supplier
SupplySupplier.notes ● String scalar
Additional notes or comments about the supplier
SupplySupplier.onTimeDelivery ● BigDecimal scalar
On-time delivery percentage (0-100)
SupplySupplier.paymentTerms ● String scalar
Payment terms offered by the supplier
SupplySupplier.phone ● String scalar
Phone number of the supplier
SupplySupplier.products ● [Product!]! non-null object
Products supplied by this supplier
SupplySupplier.qualityRating ● BigDecimal scalar
Quality rating (0-10 scale)
SupplySupplier.responseTime ● BigDecimal scalar
Average response time in hours
SupplySupplier.shippingTerms ● String scalar
Shipping terms and conditions
SupplySupplier.status ● SupplySupplierStatusEnum! non-null enum
Current status of the supplier
SupplySupplier.taxId ● String scalar
Tax identification number
SupplySupplier.timeZone ● String scalar
Time zone of the supplier
SupplySupplier.totalCost ● MonetaryValue object
Total cost of all purchases made from this supplier
SupplySupplier.updatedAt ● ISO8601DateTime! non-null scalar
Last update timestamp
SupplySupplier.website ● String scalar
Website URL of the supplier
SupplySupplier.yearEstablished ● Int scalar
Year the supplier was established
Returned By
supplyRegisterSupplier mutation ● supplySupplier query ● supplyUpdateSupplier mutation
Member Of
ProductSupplier object ● PurchaseOrder object ● SupplySupplierConnection object ● SupplySupplierContact object ● SupplySupplierEdge object
Implemented By
ProductCostable union