CarrierState
A shipping carrier
Fields
Unique identifier
Carrier name
Carrier code
Service name
URL template for tracking (use {tracking_number} placeholder)
Pick-up cutoff time
Estimated transit days
Carrier account number
Carrier contact name
Carrier contact phone
Carrier contact email
Whether the carrier is active
Optional notes
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Exact type SDL
"""A shipping carrier"""
type CarrierState @iac_resource(name: "carrier") @iac_ops(create: "createCarrier", read: "getCarrier", update: "updateCarrier", delete: "deleteCarrier") {
"""Unique identifier"""
id: CarrierID! @iac_identity(assignedBy: SERVER) @iac_computed
"""Carrier name"""
name: String!
"""Carrier code"""
code: String
"""Service name"""
serviceName: String
"""URL template for tracking (use {tracking_number} placeholder)"""
trackingUrlTemplate: String
"""Pick-up cutoff time"""
pickUpCutoff: String
"""Estimated transit days"""
transitDays: Int
"""Carrier account number"""
accountNumber: String
"""Carrier contact name"""
contactName: String
"""Carrier contact phone"""
contactPhone: String
"""Carrier contact email"""
contactEmail: String
"""Whether the carrier is active"""
isActive: Boolean!
"""Optional notes"""
notes: String
"""Creation timestamp (ISO8601)"""
createdAt: String! @iac_computed
"""Last update timestamp (ISO8601)"""
updatedAt: String! @iac_computed
}