QuotationMessage
A message between the buyer and the seller on a quotation
type QuotationMessage {
id: Guid!
type: QuotationMessageType!
authorName: String
message: String
timestamp: DateTimeOffset!
answerRef: Guid
tags: [QuotationMessageTagType]
editable: Boolean!
quotationNumber: String
}
Fields
id ● Guid! non-null scalar required
The message ID
type ● QuotationMessageType! non-null enum required
TO_CUSTOMER for a message from the seller, FROM_CUSTOMER for one from the buyer
authorName ● String scalar
The name of the person who wrote the message
message ● String scalar
The text of the message
timestamp ● DateTimeOffset! non-null scalar required
When the message was written
answerRef ● Guid scalar
The ID of the message this one replies to, or null
tags ● [QuotationMessageTagType] list object
Key and value pairs attached to the message, such as the status change a message was sent with
editable ● Boolean! non-null scalar required
Whether the buyer may still edit or delete the message. True only for the buyer's own message sent with createQuotationMessage, until the seller replies to it
quotationNumber ● String scalar
The number of the quotation version the message is stored on. A new message is stored on the newest version that is not a seller's draft, whichever version it was written on. Null from a quotation service older than the shared thread
Returned By
create mutation ● get query ● update mutation