This documentation is in beta, and might contain errors. Contact us at integration@instabee.com with any questions.

Instabee API

Create Order

Only create an order if the preceding availability check returned a locker. This is a Locker Capacity Surplus order — the consumer did not select a locker in checkout and is not aware of the Instabee brand. The locker assignment is handled automatically based on surplus capacity.

It does also levels up the integration and enables you to send information in the post purchase call that is not possible to send in the post packing call. As Instabee will easily merge the information on our end without introducing any extra complexity.

When to Use

Call this endpoint immediately after:

  • Customer completes their purchase in your checkout system

Integration Levels

You can integrate at different levels on what's possible:

  • Nothing: This call can of course be skipped completely but that just makes it harder for Instabee to achieve a great delivery experience.
  • Bare Minimum: Just an availability token/short toke/order reference/cart ID and the selected delivery options. This is the absolute minimum and will enable us to reserve the capacity.
  • Regular (or Instabee prefered option): Basic recipient and delivery information.
  • Maximum: Complete order details including products, dimensions, and special services. You can create a full order directly and just confirm the packing is done at a later stage.

Create Order API

API Endpoint

EndpointMethodContent-Type
api.integration.instabee.com/orders (production) · sandbox-api.integration.instabee.com/orders (sandbox)PUTapplication/json

The Create Order API (also known as Create Parcel API) is used to register a parcel for delivery immediately after a customer completes their purchase. This is the prebooking step that reserves capacity for delivery before the parcel is physically packed.

Integration Levels

You can provide information at different levels:

  • Bare Minimum: Nothing
  • Minimum: Basic order identification and delivery option
  • Regular: Basic recipient and delivery information
  • Maximum: Complete order details including products, dimensions, and special services

Request Body

ParameterTypeRequiredDescriptionConstraintsComment
brandstringrequiredDefine brand of the delivery optionsinstabox or budbee
productstringrequiredDefine the product of the delivery optionsLOCKER_CAPACITY_SURPLUS
parcelPackingConfirmedbooleanconditional*Confirm parcel is packed and ready for pickupsend as falseIf not sent we will default to false for one call per availabilityToken, shortToken or checkoutID
availabilityTokenstringrequiredAvailability token from availability responseCan be discussed with your Implementation Manager to be excluded. Used as a link in Instabee system
parcelIdstringoptionalUnique identifier/barcode for parcelAuto-generated if omitted
merchantBrandIdstringoptionalMerchant brand identifierMust be configured by your Implementation Manager
communicationNamestringoptionalCommunication name overrideNote! This will only change the name in Instabee communication such as notifications, SMS or email. Will not change partner name in our partner portal nor change any specs on invoices
recipientobjectrequiredRecipient information object
deliveryOptionobjectrequired*The selected locker from checkout. Do not transform or validate this!
dispatchobjectoptionalDispatch readiness and warehouse information
additionalServicesobjectoptionalAdditional services such as identification methods
cartobjectoptionalParcel and/or product details

recipient

ParameterTypeRequiredDescriptionConstraintsComment
namestringrequiredRecipient name
emailstringrequiredRecipient email addressValid email format e.g email@domain.comUsed for delivery notifications
phonestringrequiredRecipient phone numberMin: 6 digits, Max 15 digitsCan be made optional with setting, talk to your Implementation Manager
ssnstringoptionalSocial security numberFor age verification services
streetstringrequiredRecipient street address
street2stringoptionalAdditional address informationFloor, apartment, C/O etc.
postalCodestringrequiredRecipient postal code
citystringrequiredRecipient city
countryCodestringrequiredRecipient country codeISO 3166 alpha 2e.g., "SE", "DK", "NO", "FI", "NL", "BE"

deliveryOption

ParameterTypeRequiredDescriptionComment
sortCodestringrequiredSort code for the lockerIdentifies specific locker or specific home delivery option

dispatch

ParameterTypeRequiredDescriptionConstraintsComment
readyToShipstringoptionalWhen parcel is ready for pickupISO-8601 datetimeOnly one of readyToShip/readyToPack/outOfStock
readyToPackstringoptionalWhen packing process will startISO-8601 datetimeInstabee adds packing time to this
outOfStockbooleanoptionalProduct is out of stocktrue/falseRemoves ETA from delivery options
collectionPointIdstringoptionalSpecific warehouse/pickup pointConfigured by Instabee
returnPointIdstringoptionalCurrently not implemented! Return address point IDFor failed deliveries

additionalServices

ParameterTypeRequiredDescription
identificationobjectoptionalIdentity verification requirements

additionalServices.identification

ParameterTypeRequiredDescriptionConstraintsComment
typestringoptionalType of verification"age_limit", "age_limit_at_handover", "specific_person", "specific_person_at_handover" "any_person"Age veritification and specific person is currently only live in Sweden. Any person verification is live in Sweden, Denmark, Norway
ageLimitnumberoptionalMinimum age requiredUsed with age_limit types
ssnstringoptionalRequired SSN for verification
namestringoptionalRequired name for verification
type explanations
TypeDescription
age_limitVerify the consumer age. This verification will be triggered when the parcel is created. Only live with Swedish BankID
age_limit_at_handoverVerify the consumer age when they pickup the parcel (at handover). Only live with Swedish BankID
specific_personVerify the consumer identify by matching SSN sent on the order with the SSN from the verification. Only live with Swedish BankID
specific_person_at_handoverVerify the consumer identify by matching SSN sent on the order with the SSN from the verification when they pickup the parcel (at handover). Only live with Swedish BankID
any_personVerify the consumer identify by matching doing a BankID or NemID verification. Currently live in Sweden, Denmark and Norway

cart

ParameterTypeRequiredDescriptionComment
checkoutIdstringoptionalCheckout session IDUsed as a link in Instabee system
orderNumberstringrequired*Your order numberUsed as a link in Instabee system
totalValueInCentsnumberoptionalTotal order value in centsThis helps us with claims process
totalWeightGramnumberoptionalTotal weight in gramsThis helps us with claims process
parcelobjectoptionalParcel dimensions and contentsDetailed parcel information

cart.parcel

ParameterTypeRequiredDescriptionConstraintsComment
heightMmnumberoptionalParcel height in mmIf you do not have this data, do not send anything
widthMmnumberoptionalParcel width in mmIf you do not have this data, do not send anything
lengthMmnumberoptionalParcel length in mmIf you do not have this data, do not send anything
volumeDm3numberoptionalParcel volume in dm³If you do not have this data, do not send anything
estimatedSizestringoptionalEstimated size category"small", "large"
weightGramnumberoptionalParcel weight in grams
typestringoptionalParcel type"box", "envelope", "bag"
productsarrayoptionalArray of products in parcelDetailed product information

cart.parcel.products[]

ParameterTypeRequiredDescription
namestringoptionalProduct name
quantitynumberoptionalQuantity of this product
productIdstringoptionalYour product identifier
detailsobjectoptionalDetailed product information

cart.parcel.products[].details

ParameterTypeRequiredDescriptionConstraints
productTypestringoptionalType of producte.g., "Prescription"
imgUrlstringoptionalProduct image URL
categorystringoptionalProduct category
brandstringoptionalProduct brand
descriptionstringoptionalProduct description
priceobjectoptionalPrice information
temperatureobjectoptionalTemperature requirements

cart.parcel.products[].details.price

ParameterTypeRequiredDescriptionConstraintsComment
priceInCentsnumberoptionalPrice in cents
taxRateInCentsnumberoptionalTax amount in cents
discountRateInCentsnumberoptionalDiscount amount in cents
currencystringoptionalCurrency codeISO 4217e.g., "SEK"

cart.parcel.products[].details.temperature

ParameterTypeRequiredDescription
minnumberoptionalMinimum 8. Temperature in Celsius
maxnumberoptionalMaximum 15. Temperature in Celsius

cart.parcel.products[]

ParameterTypeRequiredDescription
packagesarrayoptionalPhysical package information

cart.parcel.products[].packages[]

ParameterTypeRequiredDescriptionComment
widthMmnumberoptionalPackage width in mmIf you do not have this data, do not send anything
heightMmnumberoptionalPackage height in mmIf you do not have this data, do not send anything
lengthMmnumberoptionalPackage length in mmIf you do not have this data, do not send anything
weightMmnumberoptionalPackage weightIf you do not have this data, do not send anything
volumeDm3numberoptionalPackage volume in mm³If you do not have this data, do not send anything
barcodesarrayoptionalBarcode informationIf you do not have this data, do not send anything

cart.parcel.products[].packages[].barcodes[]

ParameterTypeRequiredDescriptionConstraints
codestringoptionalBarcode value
typestringoptionalBarcode type"ean13", etc.

Key Benefits

  1. Capacity Reservation: Ensures delivery slots are reserved for your customers
  2. Flexible Integration: Send as much or as little information as you have available
  3. Early Tracking: Customers get tracking information immediately after purchase
  4. Optimized Logistics: Helps Instabee plan pickup and delivery routes

Next Steps

  • Complete Parameter Reference: See the Create Order API page for all available parameters
  • After Packing: Use the Post Packing API to confirm when parcels are ready for pickup
  • Integration Guide: Check the Authentication section for API setup

Command Palette

Search for a command to run...