Developers
API referenceBusiness sign in

Schema

CheckoutSession

An object of the Qoene Delivery API.

Fields

CheckoutSession fields
FieldTypeDescription
idRequiredstringCheckout session IDPattern ^(?:QD-CKS-[A-F0-9]{24}|QDCKS[A-Z0-9]{10,31})$
clientSecretRequiredstringGive this to the widget in the buyer's browser. It only prices this session's parcel.Pattern ^qd_cks_[a-f0-9]{64}$
environmentRequiredEnvironmentThe key environment. TEST never touches live custody, payments, dispatch or notifications.
expiresAtRequiredstring (date-time)
serviceCodesRequiredarray of ServiceCode
parcelOptionalobjectThe parcel as packed.
actualWeightGramsRequiredinteger1 to 100000
lengthMmRequiredinteger1 to 5000
widthMmRequiredinteger1 to 5000
heightMmRequiredinteger1 to 5000
originOptionalobject
pointCodeOptionalstring or null
addressOptionalobject or null
textOptionalstring
latitudeOptionalnumber
longitudeOptionalnumber
payOnPickupOptionalboolean
orderReferenceOptionalstring or null
prefillOptionalobject or null
addressTextOptionalstring or null

Used by