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

Instabee API

Create Locker to Locker Order

This endpoint creates a consumer-to-consumer order. The sender drops off the parcel at their chosen locker, and Instabee delivers it to the recipient's chosen locker. Both the sender's drop-off locker (dropOffDeliveryOption) and the recipient's delivery locker (deliveryOption) are required, with their respective sortCode values from the availability call. Parcel dimensions are required for all Locker to Locker orders.

API Endpoint

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

When to Use

Call this endpoint after parcel is packed and ready for pickup

Integration Levels

Merchants can send information in different steps depending on their workflow:

  • Minimum: Basic confirmation with essential parcel details
  • Maximum: Complete order details with final dimensions and product information

Request Body

ParameterTypeRequiredDescriptionConstraintsComment
brandstringoptionalDefine brand of the delivery options.instabox or budbee
productstringrequiredDefine the product of the delivery optionsMust be oneLOCKER_TO_LOCKER
availabilityTokenstringoptionalAvailability token from availability responseCan be optional if agreed with your Implementation Manager
parcelIdstringoptionalUnique identifier/barcode for parcelAuto-generated if omitted
merchantBrandIdstringoptionalMerchant brand identifierThis is a feature to use multiple brands without using multiple credentials. Needs to be configured if used. Talk to 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
senderobjectrequiredSender (consumer) information object
recipientobjectoptionalRecipient (merchant) information object. Will default to configuration
dropOffDeliveryOptionobjectrequired*The selected locker from checkout. Can be discussed to sent as empty with your Implementation Manager
deliveryOptionobjectrequired*The selected locker from checkout.
dispatchobjectoptionalReturn warehouse information
cartobjectrequired*Parcel and/or product details. Size of parcel is required for returns

sender

ParameterTypeRequiredDescriptionConstraintsComment
namestringrequiredRecipient name
emailstringrequiredRecipient email addressValid email formatUsed for delivery notifications
phonestringrequiredRecipient phone numberMin: 6 digits, Max 15 digitsCan be made optional with setting
ssnstringoptionalSocial security numberFor age verification services
streetstringrequiredRecipient street address
street2stringoptionalAdditional address informationFloor, apartment, etc.
postalCodestringrequiredRecipient postal code
citystringrequiredRecipient city
countryCodestringrequiredRecipient country codeISO 3166 alpha 2e.g., "SE", "DK", "NO"
coordinatesobjectoptionalGPS coordinatesFor precise location

recipient

ParameterTypeRequiredDescriptionConstraintsComment
namestringrequiredRecipient name
emailstringrequiredRecipient email addressValid email formatUsed for delivery notifications
phonestringrequiredRecipient phone numberMin: 6 digits, Max 15 digitsCan be made optional with setting
ssnstringoptionalSocial security numberFor age verification services
streetstringrequiredRecipient street address
street2stringoptionalAdditional address informationFloor, apartment, etc.
postalCodestringrequiredRecipient postal code
citystringrequiredRecipient city
countryCodestringrequiredRecipient country codeISO 3166 alpha 2e.g., "SE", "DK", "NO"
coordinatesobjectoptionalGPS coordinatesFor precise location

dropOffDeliveryOption

ParameterTypeRequiredDescriptionComment
sort_codestringrequiredSort code for the dropoff lockerIdentifies specific locker or specific home delivery time

deliveryOption

ParameterTypeRequiredDescriptionComment
sort_codestringrequiredSort code for the dropoff lockerIdentifies specific locker or specific home delivery time

dispatch

ParameterTypeRequiredDescriptionComment
returnPointIdstringoptionalNot yet implemented. Return address point IDFor failed deliveries

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
parcelobjectrequiredParcel dimensions and contentsDetailed parcel information

cart.parcel

ParameterTypeRequiredDescriptionConstraintsComment
heightMmnumberrequiredParcel height in mmIf you do not have this data, do not send anything
widthMmnumberrequiredParcel width in mmIf you do not have this data, do not send anything
lengthMmnumberrequiredParcel 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.

Response

The API returns an updated parcel object with:

FieldTypeDescription
parcelIdstringThe Instabee parcel ID
statusstringUpdated status (e.g., "PENDING_PACKING" or "FINALIZED")

links (object)

FieldTypeDescription
labelstringURL to download the shipping label
trackingstringURL to track the parcel

Best Practices

  1. Accurate Measurements: Always provide accurate dimensions and weight
  2. Prompt Confirmation: Confirm packing as soon as possible after physical packing
  3. Error Handling: Implement proper error handling for failed confirmations
  4. Label Management: Download and store shipping labels immediately
  5. Status Tracking: Monitor the parcel status via the Instabee API or dashboard

Size Limitations

Each delivery method has maximum size and weight limitations:

Delivery TypeMax Length (cm)Max Width (cm)Max Height (cm)Max Weight (kg)
Locker - Small39395920

Exceeding these limitations may result in additional charges or delivery refusal.

Command Palette

Search for a command to run...