Tender
Comprehensive tender entity representing a potential order in the system.
Tenders are draft orders that contain all necessary information for order processing including customer details, items, pricing, addresses, payment methods, and shipping information. They can be modified, processed into orders, or deleted as needed.
type Tender {
status: String!
orderStatus: OrderStatus
orderId: Int
revisions(
input: OrderRevisionByOrderSearchInput
): OrderRevisionResponse!
tenderId: String!
ownerId: Int
type: OrderType!
siteId: Int @deprecated
channelId: Int
shopId: Int! @deprecated
createdAt: DateTime!
createdBy: Int
lastModifiedAt: DateTime!
lastModifiedBy: Int
userId: Int @deprecated
contactId: Int
customerId: Int
companyId: Int
invoiceUserId: Int
firstName: String
middleName: String
lastName: String
email: String!
debtorId: String
invoiceAddress: TenderAddress
deliveryAddress: TenderAddress
itemCount: Int
items: [TenderMainItem!]
bonusItems: [TenderMainItem!]
paymentData: TenderPayment
postageData: TenderPostage
total: TenderTotal
taxLevels: [TenderTaxLevel!]
carriers: [TenderCarrier!]
payMethods: [TenderPaymethod!]
source: String
valuePoints: Int
incentivesApplied: Boolean
creditPoints: Int
actionCode: String
reference: String
remarks: String
language: String
currency: String
currencyRatio: Float
externalId: String
extra3: String
extra4: String
isEditable: Boolean
validUntil: DateTime
public: Boolean!
revisionNumber: Int!
publicVersionNumber: Int
invalid: Boolean!
invalidationReason: String
createdByAdminUserId: Int
createdByContactId: Int
createdByCustomerId: Int
createdFromRevisionNumber: Int
user: IBaseUser @deprecated
contact: Contact
customer: Customer
company: Company
}
Fields
Tender.status ● String! non-null scalar
Tender/order status
Tender.orderStatus ● OrderStatus object
Retrieve the current status of the tender.
Returns the tender status configuration that represents the current state of the tender in the workflow.
Tender.orderId ● Int scalar
Associated order identifier when tender was created from an existing order.
Links the tender to its source order for reference and audit purposes.
Tender.revisions ● OrderRevisionResponse! non-null object
Tender.revisions.input ● OrderRevisionByOrderSearchInput input
Tender.tenderId ● String! non-null scalar
Unique identifier for the tender.
This is the primary key used to reference and manage the tender throughout its lifecycle.
Tender.ownerId ● Int scalar
Identifier of the user who owns this tender.
Represents the primary responsible party for the tender management and processing.
Tender.type ● OrderType! non-null enum
Classification of the tender type.
Determines the processing workflow and business rules that apply to this tender.
Tender.siteId ● Int deprecated scalar
Deprecated in favor of channelId
Legacy site identifier where the tender was created.
Historical reference maintained for compatibility purposes.
Tender.channelId ● Int scalar
Sales channel identifier where the tender originated.
Identifies the specific sales channel (website, mobile app, etc.) used to create this tender.
Tender.shopId ● Int! deprecated non-null scalar
Deprecated, please use channelId instead
[DEPRECATED] Shop identifier that owns this tender.
Determines which business unit or location is responsible for fulfilling this tender.
Tender.createdAt ● DateTime! non-null scalar
Timestamp when the tender was initially created.
Records the exact moment this tender was first established in the system.
Tender.createdBy ● Int scalar
Identifier of the user who created this tender.
Tracks the originator of the tender for audit and accountability purposes.
Tender.lastModifiedAt ● DateTime! non-null scalar
Timestamp of the most recent modification to the tender.
Updates automatically whenever any aspect of the tender is changed.
Tender.lastModifiedBy ● Int scalar
Identifier of the user who last modified this tender.
Tracks the most recent editor for audit and accountability purposes.
Tender.userId ● Int deprecated scalar
This field will be removed in a future release, use contact+companyId or customerId instead
Tender.contactId ● Int scalar
Contact person identifier associated with this tender.
Used in combination with companyId to identify the specific contact person within a company who is responsible for this tender.
Tender.customerId ● Int scalar
Customer identifier for individual customer tenders.
Used for direct customer relationships where no company association is required.
Tender.companyId ● Int scalar
Company identifier for business-to-business tenders.
Used in combination with contactId to establish the company context for the tender.