v1

latestOpenAPI 3.1.02026-07-2413054.9 KB

Insert Takeout Order

post/pickup-orders

Headers

Authorizationstring

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

Content-Typestring

Request body

orderNumberstring required

Alphanumeric identifier for the order object

additionalIdstring

Additional ID for the order

tipsnumber double

Tips amount for the order

taxnumber double

Tax amount for the order

discountAmountnumber double

Discount amount for the order

totalOrderCostnumber double

Total cost for the particular order

paymentMethod'CARD' | 'CASH' | 'ONLINE'

Selected payment method for the order

pickupInstructionstring

Pickup related instructions for the order

expectedPickupDatestring date

Expected pickup date in UTC for the particular order (yyyy-mm-dd format)

expectedPickupTimestring date-time

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

orderSourcestring

Source of the order

Response

200

successboolean
orderIdinteger
messagestring

Example response

{
  "success": true,
  "orderId": 642954,
  "message": "Pickup Order inserted successfully."
}