v1

latestOpenAPI 3.1.02026-07-2413054.9 KB

Edit Order

put/{orderId}

Path parameters

orderIdstring required

Headers

Authorizationstring

Replace the BgxsDwd00n.LNNn90QydrjgZ1K9dS13 part with your own API_KEY from Shipday for authentication.

Content-Typestring

Request body

orderIdinteger

Unique orderID that was provided from the system once the order was inserted

orderNostring required

Numeric identifier for the order object

customerNamestring required

The name of the customer

customerAddressstring required

Address of the customer

customerEmailstring required

Email Address of the customer

customerPhoneNumberstring required

Phone number of the customer with country code

restaurantNamestring required

Name of the restaurant

restaurantAddressstring required

Address of the restaurant

restaurantPhoneNumberstring

Phone number of the restaurant with country code

expectedDeliveryDatestring date

Expected delivery date for the particular order ( yyyy-mm-dd formatv)

expectedPickupTimestring date-time

Expected pickup time for the particular order (format hh:mm:ss)

expectedDeliveryTimestring date-time

Expected Delivery Time for the particular order (format hh:mm:ss)

pickupLatitudenumber double

Pickup location latitude

pickupLongitudenumber double

Pickup location longitude

deliveryLatitudenumber double

Delivery location latitude

deliveryLongitudenumber double

Delivery location longitude

tipnumber double

Tips amount for the order

taxnumber double

Tax amount for the order

discountAmountnumber double

Discount amount for the order

deliveryFeenumber double

Delivery fee amount for the order

totalCoststring

Total cost for the particular order

deliveryInstructionstring

Delivery Instruction for the driver or restaurant (if given)

orderSourcestring

Source of the order

additionalIdstring

Additional ID for the order

clientRestaurantIdinteger

Client Restaurant ID

paymentMethodstring

Selected payment method for the order

creditCardTypestring

Type of the credit card ( Not needed if the payment method is 'cash' )

creditCardIdinteger

Last four digits of the credit card ( Not needed if the payment method is 'cash' )

pickupobject

Pickup details breakdown

dropoffobject

Dropoff details breakdown

Response

200

successboolean
responsestring

Example response

{
  "success": true,
  "response": "Order updated"
}