Schema
CheckoutSession
An object of the Qoene Delivery API.
Fields
| Field | Type | Description |
|---|---|---|
idRequired | string | Checkout session IDPattern ^(?:QD-CKS-[A-F0-9]{24}|QDCKS[A-Z0-9]{10,31})$ |
clientSecretRequired | string | Give this to the widget in the buyer's browser. It only prices this session's parcel.Pattern ^qd_cks_[a-f0-9]{64}$ |
environmentRequired | Environment | The key environment. TEST never touches live custody, payments, dispatch or notifications. |
expiresAtRequired | string (date-time) | |
serviceCodesRequired | array of ServiceCode | |
parcelOptional | object | The parcel as packed. |
actualWeightGramsRequired | integer | 1 to 100000 |
lengthMmRequired | integer | 1 to 5000 |
widthMmRequired | integer | 1 to 5000 |
heightMmRequired | integer | 1 to 5000 |
originOptional | object | |
pointCodeOptional | string or null | |
addressOptional | object or null | |
textOptional | string | |
latitudeOptional | number | |
longitudeOptional | number | |
payOnPickupOptional | boolean | |
orderReferenceOptional | string or null | |
prefillOptional | object or null | |
addressTextOptional | string or null |