Create Supplier
Create Supplier Mutation
Arguments
Name
Type
Description
Return Type
Input Fields
Field
Type
Description
Usage Example
mutation {
createSupplier(
input: {
dataTypeSlug: "domestic_supplier",
data: {
"name": "ACME Supply Co.",
"code": "SUP-001",
"email": "[email protected]",
"phone": "+1-555-0123",
"address": {
"street": "123 Industrial Way",
"city": "Manufacturing City",
"state": "CA",
"zip": "90210",
"country": "USA"
},
"contactPerson": "John Doe",
"paymentTerms": "NET30",
"leadTimeDays": 7,
"minimumOrderValue": 500.00,
"preferredDeliveryDays": ["Monday", "Wednesday", "Friday"],
"certifications": ["ISO9001", "ISO14001"],
"vendorRating": 4.5
}
}
) {
id
dataTypeSlug
data
createdAt
}
}Common Data Fields
Notes
Last updated
Was this helpful?
