Objects

CartQuotationType

Type containing quotation information for a cart

Type containing quotation information for a cart

type CartQuotationType {
  quotationNumber: String
  name: String
  currency: String
  marketId: String
  channelId: String
  status: QuotationStatus
  revision: Int!
  revisionOf: QuotationVersionReferenceType
  revisedBy: QuotationVersionReferenceType
  createdAt: DateTimeOffset!
  modifiedAt: DateTimeOffset!
  validFrom: DateTimeOffset
  validTo: DateTimeOffset
  company: QuotationCompanyType
  owner: QuotationOwnerType
  customer: QuotationCustomerType
  validPaymentMethods: [QuotationPaymentMethodType]
  validShippingMethods: [QuotationShippingMethodType]
  suggestedShippingFee: Decimal
  terms: QuotationTermsType
  billingAddress: QuotationAddressType
  shippingAddress: QuotationAddressType
  orderId: String
  orderPublicId: Guid
  discount: QuotationDiscountType
  settings: QuotationSettingsType
  externalReference: QuotationExternalReferenceType
  request: QuotationRequestType
  orderDetails: QuotationOrderDetailsType
  revisions: [QuotationVersionType!]
  statusHistory: [QuotationStatusChangeType!]
}

Fields

quotationNumber ● String scalar

The unique quotation number

name ● String scalar

The name of the quotation

currency ● String scalar

The currency code for the quotation

marketId ● String scalar

The market identifier

channelId ● String scalar

The channel identifier

status ● QuotationStatus enum

The current status of the quotation. REVISED when a later version replaced it, which revisedBy names

revision ● Int! non-null scalar required

The last part of the quotation number, as a number. A buyer's request is 0 and its first offer 1. A copy made in the same month takes the next number too, so it does not count the versions. 0 when the number has another format

revisionOf ● QuotationVersionReferenceType object

The version this quotation revises. Null on a quotation that is not a revision, which includes a copy

revisedBy ● QuotationVersionReferenceType object

The version that replaced this quotation when it was sent, which moved this one to REVISED. Null until then. getCart answers null and checkout refuses a REVISED quotation, so open this version instead

createdAt ● DateTimeOffset! non-null scalar required

The date and time when the quotation was created

modifiedAt ● DateTimeOffset! non-null scalar required

The date and time when the quotation was last modified

validFrom ● DateTimeOffset scalar

The date and time from which the quotation is valid

validTo ● DateTimeOffset scalar

The date and time until which the quotation is valid

company ● QuotationCompanyType object

The company associated with the quotation

owner ● QuotationOwnerType object

The owner of the quotation

customer ● QuotationCustomerType object

The customer associated with the quotation

validPaymentMethods ● [QuotationPaymentMethodType] list object

The valid payment methods for the quotation

validShippingMethods ● [QuotationShippingMethodType] list object

The valid shipping methods for the quotation

suggestedShippingFee ● Decimal scalar

The suggested shipping fee for the quotation

terms ● QuotationTermsType object

The terms of the quotation

billingAddress ● QuotationAddressType object

The billing address for the quotation

shippingAddress ● QuotationAddressType object

The shipping address for the quotation

orderId ● String scalar

The order identifier if the quotation has been finalized

orderPublicId ● Guid scalar

The public id of the quotation's order, the id getOrderPublic takes. Null until the order is linked, which for a quotation whose order an external system creates happens on a later sync. Also null on a quotation finalized before this field was added, and when no order id reservation was found at finalize

discount ● QuotationDiscountType object

The discount applied to the quotation

settings ● QuotationSettingsType object

The settings for the quotation

externalReference ● QuotationExternalReferenceType object

The quotation's link to an external system, such as an ERP. Null when the quotation is managed in Geins only

request ● QuotationRequestType object

What the buyer sent with the quotation request. Null when the seller started the quotation, on a copy of a quotation, and on a request sent before this field was added

orderDetails ● QuotationOrderDetailsType object

The details the order gets when the quotation is finalized. The request fills them and the seller can change them, and checkout cannot. Null on a request sent before this field was added, and on a quotation the seller started without them

revisions ● [QuotationVersionType!] list object

Every version of this quotation the buyer can see, newest first and this one included. The buyer's request, when there is one, is the last. The seller's drafts are left out. Empty when the quotation was never revised. Null without an error while the quotation service has no versions route, and null with an error when the versions could not be read. Each quotation it is selected on costs a call to the quotation service, so select it on one quotation rather than on a list

statusHistory ● [QuotationStatusChangeType!] list object

Every status change the buyer can see on this quotation and the other versions in its revision chain, oldest first. The seller's drafts are left out. A change made before the platform started recording them on the account is missing. Null without an error while the quotation service has no status history route, and null with an error when the history could not be read. Each quotation it is selected on costs a call to the quotation service, so select it on one quotation rather than on a list

Member Of

CartType object