Create Order (Legacy)Ask AIpost https://sandbox.api.deliverysolutions.co/api/v2/order/placeorderUse this API to place an order from the selected pickup location to the delivery address.Body ParamstypestringenumOrder Type. If not specified, orchestration preference of Providers and services will be based on orchestration.shippingdeliveryin-store-pickupcurbsideshippingAllowed:deliveryin-store-pickupcurbsideshippingstoreExternalIdstringrequiredUnique Id of the pickup location for which the order is being placed, see Create Location.orderExternalIdstringrequiredUnique Id of the order generated in your system and configured in our system. Can be configured to be non-unique.groupIdstringGroup ID allows you to group a number of orders together. It further helps in providing a combined post-purchase experience for these orders.orderValuedoublerequiredThe value of the order in major units as decimals. E.g; 10.00. In USD this will be $10.00tipsdoubleDriver tip amount in major units as decimals. E.g; 9.00. In USD this will be $9.00pickupTimeobjectTime Window in which the package will be ready to be picked up.pickupTime objectdropoffTimeobjectTime Window in which the package must be delivered by. Not needed for pickup order.dropoffTime objectdeliveryContactobjectrequiredCustomer information to obtain an estimatedeliveryContact objectdeliveryAddressobjectrequiredAddress to deliver the package to. Not needed for order type: in-store-pickup and curbside.deliveryAddress objectpackagesarray of objectsPackage details. Package dimension and weight details help in surfacing accurate estimates and winning Providers. For shipping type orders, packages are converted to shipments with applicable Providers.packagesADD objectisSpiritbooleanDelivery contains spiritstruefalseisBeerOrWinebooleanDelivery contains beer or winetruefalseisTobaccobooleanDelivery contains tobaccotruefalseisFragilebooleanDelivery has fragile itemstruefalseisRxbooleanDelivery has Rx items.truefalsehasRefrigeratedItemsbooleanDelivery has refrigerated itemstruefalsehasPerishableItemsbooleanDelivery has perishable itemstruefalsenotificationobjectStatus update notification recipients.notification objectsignaturestringenumSignature requirement. If available, defaults to Provider-level configuration. Defaults to not_required if Provider-level configuration is not available.not_requirednot_requiredrequiredunattendedrequired_recipientAllowed:not_requiredrequiredunattendedrequired_recipientpickupInstructionsstringPickup instruction for the location. This will override the instructions configured with the pickup location.deliveryInstructionsstringDelivery instructions for drop-off.orderAttributesjsonConfigurable key-value pairs of custom order attributes. See Attributes.itemListarray of objectsArray of items in the order. Details offer improved post-purchase experiences. In the absence of packages, cubic dimensions and weight will be derived from this list.itemListADD objectalternateLocationobjectAlternate location details in case order is to be delivered to alternate location.alternateLocation objectproposedProvidersarray of objectsOverride orchestration and place order with the specified Provider and Service.proposedProvidersADD objectdispatchobjectOrder dispatch settings. e.g., dispatch order 10 mins before pickup time. In case of null, settings will be inherited.dispatch objecttemperatureControlstringenumTemperature information of the package.frozenrefrigeratedcoolambientwarmnoneAllowed:frozenrefrigeratedcoolambientwarmnonelocalestringPreferred locale by the customer for an order. Value to be sent in the format of language code(ISO-639-1)-country code(ISO-3166-1-alpha-2). E.g fr-CA, en-US. Here, fr, en are language codes & CA, US are country codes.createdDateint32Date at which the order was originally created in Unix time in milliseconds. e.g., 1500616800000Responses 201201 202202 400400Updated 10 months ago