Yelo
  1. Admin
Yelo
  • Acl
    • Create Role
      POST
    • Get Role
      POST
    • Edit Role
      POST
    • Delete Role
      POST
    • Get Role Permissions
      POST
  • Custom PG
    • paymentStatus
      POST
  • CSV Import
    • csv
      POST
  • Menu
    • Add Menu
      POST
    • Get Menu
      POST
  • Notification
    • getCreds
      POST
    • sendCustomPushNotification
      POST
  • Tax
    • delete
      POST
    • edit
      POST
    • get
      POST
    • add
      POST
  • Themes
    • configure
      POST
    • resetTemplate
      POST
    • cloneFeatures
      POST
    • editTemplate
      POST
    • getTemplate
      POST
    • getPagesAndComponents
      POST
    • updateUserTheme
      POST
    • getThemeSemantics
      POST
    • enableTheme
      POST
    • getThemeJson
      POST
    • editTheme
      POST
    • getThemes
      POST
    • forkTheme
      POST
    • getUserTheme
      POST
  • Customer
    • customer Deletion
    • Add Customer
    • customer verifyOtp
    • customerForgotPassword
    • View Customer
    • Customer Details
    • Edit Customer
    • Add Customer Subscription Plan
    • Get Customer Subscriptions List
    • Edit Customer Subscription Plan
    • googleLogin
    • Assign Customer Subscription Plan
    • Customer login
    • getFavLocation
    • Forgot Password
  • Wallet
    • addMoney
    • customer/getWalletTxnHistory
  • Loyality Points
    • Update Loyality Points
    • Reward Loyalty Points
  • City
    • Get City
  • Promo
    • Delete Promo
    • Change Promo Status
    • Edit Promo
    • Add Promo
    • Get Promo
  • Order
    • Order review
    • Get All Orders
    • Get Order Details
    • Create Order
    • Custom Order
    • orderPrepTime
  • Search
    • searchGlobalProduct
    • searchProducts
    • searchGlobalMerchants
  • Marketplace
    • Settings
    • Edit Merchant details
    • Get Banner
    • get Activity Logs
    • marketplaceVendorFacebookLogin
    • Add Debt For Job
    • addMerchant
    • getMerchantList
    • getAccountTranslations
    • getfilter
    • Cancellation reason
  • Task
    • edit task prep time
    • addRemarks
    • getTookanRequest
    • Edit Task
    • Accept Reject Order
    • updateStatus
  • Merchant
    • Add Store Availability
    • Update Store Availability for day
    • Get merchant custom field
    • Edit Store Status
    • Get Store FrontDateSchedule
    • Add Store FrontDateSchedule
    • Update Store FrontDateSchedule
    • Get merchant
    • Merchant settings
    • user_login
  • Catalogue
    • Catagory
      • Add Catalogue
      • Update Catalogue
      • Get Catalogue
      • Get All Catalogues
      • Get Catalogue Products
      • Enable Disable Category wise
      • Delete catalogue
    • Products
      • disable
      • Add product
      • Edit Product
      • delete
      • Disable Products
      • Get product
      • Get All Products
      • Get Products For Category
    • Product Customization
      • Deprecated
        • Get Customization
        • Add Customization
        • Delete Customization
        • Edit Customization
      • Customizations
    • tags
      • Get All tags
      • Get tags Products
  • Business Categories
    • Assign Business Category
    • Get Business Category
    • businessCategory
  • Send SMS
    • Send App Link SMS
  • Admin
    • Edit Order
      POST
    • Add Address
      POST
    • Get address
      POST
    • Delete Address
      POST
    • Edit address
      POST
    • Admin Detail
      POST
  • Billing
    • getPlans
    • getInvoices
    • getBillBreakDown
  • Project
    • get
  • Discount
    • merchant Discount
      • /open/merchant/discount/get
      • merchant/discount/edit
      • merchantDiscount/add
    • Product Discount
      • productDiscount/add
      • product/discount/get
      • product/discount/edit
      • product/discount/delete
  • Store Reviews
    • getStoreAllReviews
  • checkout template
    • template/getCheckoutTemplate
  • Payment
    • activePaymentMethods
    • getPaymentUrl
  1. Admin

Edit Order

POST
/open/admin/order/edit
ParameterTypeDescription
api_keystringYour API-key
marketplace_user_idnumberYour marketplace_user_id
payment_methodnumber, allow("",null)8 for payment in cash
card_idnumber, allow("",null)your card_id (optional)
checkout_templatearrayCheckout Template(optional)
user_idnumberYour user_id
customer_phonestringCustomer's phone number
customer_emailstringCustomer's email address
customer_usernamestringCustomer's username
job_pickup_datetimestringJob date and time
delivery_chargenumberDelivery Charges
currency_idnumberYour currency id
amountnumberAmount of products
is_schedulednumber1 for YES, 0 for NO<
vendor_idnumberVendor id
job_pickup_latitudenumberjob pickup latitude
job_pickup_longitudenumberjob pickup longitude
latitudenumberLatitude (optional)
longitudenumberlongitude (optional)
job_pickup_addressstringJob pickup address (optional)
job_pickup_namestringJob pickup name (optional)
job_pickup_phonestringJob pickup phone (optional)
job_pickup_emailstringJob pickup email (optional)
prev_job_idnumberprevious job id (optional)
return_enablednumber1 for Yes, 0 for No (optional)
verticalnumbervertical (optional)
timezonestringYour timezone (optional)
productsarrayArray Containing product_id, quantity, customizations (refer below PRODUCTS Table)
home_deliverynumber1 for YES, 0 for No
tipnumber1 for YES, 0 for No

Products#

NameTypeDescription
product_idnumberProduct Id
quantitynumberQuantity of product
Customizationsarray(optional)Refer below customization table

Customizations#

NameTypeDescription
cust_idnumberCustomization Id
quantitynumberQuantity of product
namestring(optional)Name of customization
currency id
Namesymbolid
USD
EUR
JPY
GBP
AUD
CAD
CHF
CNY
SEK
MXN
NZD
SGD
HKD
NOK
KRW
INR
RUB
ZAR
KES
ZMW
AED
EGP
PEN
UGX
IQD
QAR
COP
NGN
MYR
RES
KWD
GHS
HNL
SAR
₱
MAD
OMR
BHD
PKR
BMD
DOP
THB
TWD
ZK
JOD
XOF
AWG
JMD
TRY
R<br/>BDT<br/>DZD<br/>ARS<br/>PEN<br/>BRL<br/>CLP<br/>GMD<br/>LBP<br/>BWP<br/>BND<br/>BTN<br/>Rp<br/>TTD<br/>GEL<br/>JOD<br/>LKR<br/>FJD<br/>KYD<br/>TZS<br/>AOA<br/>XCD<br/>DKK<br/>MZN<br/>NIO<br/>ILS<br/>MMK<br/>LAK<br/>ISK<br/>XPF<br/>BSD<br/>CRC<br/>GTQ<br/>IDR<br/>KGS<br/>PHP<br/>PHP<br/>BOB<br/>KZT<br/>NAD<br/>SCR<br/>OUV<br/>BGN<br/>BAM</td><td>
‎€
¥‎
£
<br/>C
Fr.
¥
kr
Mex<br/>NZ
S<br/>HK
kr
₩
₹
₽
R
KSh
ZK
AED
E£
S
UGX
ع.د
QAR
<br/>₦<br/>RM<br/>re<br/>KWD<br/>GH₵<br/>HNL<br/>SAR<br/>₱<br/>MAD<br/>OMR<br/>BHD<br/>Rs<br/>
RD<br/>‎฿<br/>NT
ZK
JOD
XOF
Afl.
JMD <br/>₺<br/>R
৳
DZD
<br/>S/.<br/>R
<br/>GMD<br/>L.L.<br/>P<br/>B
Nu.
Rp
TT<br/>ლ<br/>دينا<br/>Rs<br/>FJ
CI<br/>TSh<br/>Kz<br/>
DKK
MT
C<br/>₪<br/>MMK<br/>LAK<br/>kr<br/>F<br/>B
₡
Q
Rp
Лв
PHP
PHP
Bs
₸
N$
₨
OUV
Лв
KM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
29
30
31
32
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
80
81
82
83
84
85
87
88
89
100
101
150
74
92
86
87
90
90
123
124
102
125
94
95
96

Request

Body Params application/json
object {0}
Example
{
"api_key"               : {{apikey}},
"marketplace_user_id"   : 510001,
"payment_method"        : "",
"card_id"               : "",
"checkout_template"     : "[]",
"user_id"               : 510001,
"customer_phone"        : "+18658472111",
"customer_email"        : "n.amrit+devfood@jungleworks.com",
"customer_username"     : "Home",
"job_pickup_datetime"   : "2021-04-28T06:22:56.984Z",
"delivery_charge"       : 100,
"currency_id"           : 1,
"amount"                : 300,
"is_scheduled"          : 0,
"vendor_id"             : {{vendorId}},
"job_pickup_latitude"   : 30.7333148,
"job_pickup_longitude"  : 76.7794179,
"latitude"              : 30.7333148,
"longitude"             : 76.7794179,
"job_pickup_address"    : "Chandigarh, India",
"job_pickup_name"       : "Home",
"job_pickup_phone"      : "+18658472111",
"job_pickup_email"      : "n.amrit+devfood@jungleworks.com",
"prev_job_id"           : 103317,
"return_enabled"        : 0,
"vertical"              : 0,
"timezone"              : 0,
"products"              : "[{\"product_id\":325468,\"quantity\":2,\"customizations\":[]}]",
"home_delivery"         : 1,
"tip"                   : 0
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.yelo.red/open/admin/order/edit' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key"               : {{apikey}},
"marketplace_user_id"   : 510001,
"payment_method"        : "",
"card_id"               : "",
"checkout_template"     : "[]",
"user_id"               : 510001,
"customer_phone"        : "+18658472111",
"customer_email"        : "n.amrit+devfood@jungleworks.com",
"customer_username"     : "Home",
"job_pickup_datetime"   : "2021-04-28T06:22:56.984Z",
"delivery_charge"       : 100,
"currency_id"           : 1,
"amount"                : 300,
"is_scheduled"          : 0,
"vendor_id"             : {{vendorId}},
"job_pickup_latitude"   : 30.7333148,
"job_pickup_longitude"  : 76.7794179,
"latitude"              : 30.7333148,
"longitude"             : 76.7794179,
"job_pickup_address"    : "Chandigarh, India",
"job_pickup_name"       : "Home",
"job_pickup_phone"      : "+18658472111",
"job_pickup_email"      : "n.amrit+devfood@jungleworks.com",
"prev_job_id"           : 103317,
"return_enabled"        : 0,
"vertical"              : 0,
"timezone"              : 0,
"products"              : "[{\"product_id\":325468,\"quantity\":2,\"customizations\":[]}]",
"home_delivery"         : 1,
"tip"                   : 0
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
Send App Link SMS
Next
Add Address
Built with