Developers
API referenceBusiness sign in

Schema

Quote

An object of the Qoene Delivery API.

Fields

Quote fields
FieldTypeDescription
public_idRequiredstringQuote IDPattern ^(?:QD-QT-[A-F0-9]{24}|QDQT[A-Z0-9]{3,32})$
serviceRequiredenumOne of EXPRESS, RELAY
service_variantOptionalstring or null
service_codeOptionalServiceCode or null
currencyRequiredstringThe market currency; amounts are in its minor unit.
marketOptionalMarketCodeTwo-letter market (country network) code. Ghana (GH) is live; each market is a separate domestic network.
subtotal_minorRequiredMinorAmountMoney in integer pesewas (GHS minor units). 64-bit columns are returned as a decimal string; treat both forms as an integer.
tax_minorRequiredMinorAmountMoney in integer pesewas (GHS minor units). 64-bit columns are returned as a decimal string; treat both forms as an integer.
total_minorRequiredMinorAmountMoney in integer pesewas (GHS minor units). 64-bit columns are returned as a decimal string; treat both forms as an integer.
expires_atRequiredstring (date-time)
priceOptionalobjectPrice lines; components sum to subtotal_minor.
componentsOptionalarray of object
taxComponentsOptionalarray of object
routeOptionalobjectRoute details used for the price.
promiseOptionalDeliveryPromiseThe delivery promise, worked out with the Ghana working calendar (public holidays and network closures), cut-offs and region lanes.
contractOptionalobjectNB10 contract terms frozen with the quote.
rateCardOptionalobject
volumeTierOptionalany

Used by