put https://api.shipday.com/order/edit/
Note: Replace the orderId in the path param with the actual orderId of the order that you want to edit.
orderId in the path param, is the unique identifier that was returned once the order was placed. You can also get the orderId in the delivery order details object, that can be found once retrieved order details.
Returns
Returns a response Object hash
Response hash child attributes
success
Boolean
Boolean value indicating the success of the order insert
orderId
Integer
Unique Identifier for the particular order
Possible enum values of 'paymentMethod' |
---|
cash |
credit_card |
Possible enum values of 'creditCardType' |
---|
visa |
master_card |
AMEX |
other |
[
{
"name":"Veggie Duck",
"unitPrice":14.95,
"quantity":2,
"addOns": ["Onion Rings","Sauce"],
"detail": "Please don't use corn in mixed vegetables"
},
{
"name":"Mango Chicken",
"unitPrice":13.95,
"quantity":2
}
]
{
"address": {
"unit": "Apt 23",
"street": "890 Geneva Ave",
"city": "San Francisco",
"state": "CA",
"zip": "94112",
"country": "United States"
}
}
{
"address": {
"unit": "Suite 12",
"street": "556 Crestlake Dr",
"city": "San Francisco",
"state": "CA",
"zip": "94132",
"country": "USA"
}
}