Skip to Content

CreateOrderInput

Properties

NameTypeDescriptionNotes
vendor_idLongID of the vendor for single vendor orders.[optional] [default to null]
vendor_location_idLongID of the vendor location.[optional] [default to null]
delivery_address_idLongID of the delivery address.[optional] [default to null]
sub_totalDoubleSubtotal amount before fees and taxes.[default to null]
discountDoubleDiscount amount applied to the order.[default to null]
delivery_feeDoubleDelivery fee amount.[default to null]
taxDoubleTax amount.[default to null]
totalDoubleTotal order amount.[default to null]
payment_gateway_method_idLongID of the payment gateway method (system payment options like Wallet, Cash, Stripe).[optional] [default to null]
saved_payment_method_idLongID of the user’s saved payment method (tokenized card from Stripe).[optional] [default to null]
itemsListList of items in the order.[optional] [default to null]
notesStringOptional order notes.[optional] [default to null]
dataanyMulti-vendor order data.[optional] [default to null]
typeStringOrder type (package, service, etc.).[optional] [default to null]
package_type_idLongPackage type ID for package delivery orders.[optional] [default to null]
pickup_location_idLongPickup location ID for package delivery.[optional] [default to null]
dropoff_location_idLongDropoff location ID for package delivery.[optional] [default to null]
weightDoublePackage weight.[optional] [default to null]
widthDoublePackage width.[optional] [default to null]
lengthDoublePackage length.[optional] [default to null]
heightDoublePackage height.[optional] [default to null]
pickup_addressStringPickup address for package delivery.[optional] [default to null]
dropoff_addressStringDropoff address for package delivery.[optional] [default to null]
recipient_nameStringRecipient name for package delivery.[optional] [default to null]
recipient_phoneStringRecipient phone for package delivery.[optional] [default to null]
service_idLongService ID for service orders.[optional] [default to null]
tokenStringToken required for service orders.[optional] [default to null]

[Back to Model list] [Back to API list] [Back to README]