VODO ERP
  1. Orders
VODO ERP
  • Accounts Module
    • Authentication
      • Register
        • Step 1
        • Step 2
        • Step 3
        • Step 4
      • Login
      • reset-password
      • forgot-password
      • logout
      • confirm_old_password
    • Permessions
      • user_permissions
      • user_permession_by_key_value
    • User
      • Profile
        • Show
        • Update
      • Show All Businessess of User
      • retrive-auth
    • Jobs
      • all_jobs
      • Jobs
      • one_job
      • new_job
      • delete_job
      • update_job
    • Business
      • Inventory Audit Process
        • Email
        • Verification
      • Email
        • Email To The Main Business
        • Email From Employee To Other Employees
      • Update
      • Update Expiration Date
      • Create Business
      • Show Business
      • Business With Ids
      • Show Business V2
      • business_details
    • Branches
      • Version 2
        • Show
      • reservation_branches
      • all branches by ids of branches
      • add_company_branch
      • All
      • Show
      • update_branch
    • Activities
      • All
    • Standard Catlog
      • Standard Products
        • All Standard Products
        • Category Of Product
        • one_product
      • categories
        • categories_list
    • Agents
      • Businesses Of Agent
    • Employees
      • All Employees
      • add_business_employee
      • business_employee_update
      • business_employee_show
      • business_employees
    • Payslips
      • get_payslip_status
      • get_payslip_status_by_role
      • payslip_items
    • get_user_from_token
    • get_cash_account
    • Notification Send Using Firebase
    • add_log
    • user_company
    • business_users
    • all_companies
    • Suppliers And Customers
    • New Request
    • add_store_keeper
    • currencies_list
    • get_one_customer
    • show_multi_jobs
    • one_service
    • get_cash_account
    • user_sub_modules
    • employee_password_update
  • Ecommerce Module
    • Catalog
      • Brands
        • All Brands
        • Add Brand
        • One Brand
        • Edit Brand
      • Category
        • All Categories
        • Add Category
        • One Category
        • Edit Category
      • Product
        • All Products
        • Add Product
        • Get Product Names By Ids
        • Get Product Name By Id
        • One Product
        • Edit Product
        • Delete Product Image
        • Delete Product Group
        • Display Product Type
        • Display Product Kind
        • Display Products By Ids
        • Get Product Type
        • Product Rating
        • Business Products
    • Product Prices
      • All Product Prices
      • All Number Product Prices
      • One Product Prices
      • One Product With Prices
      • Add Product Price
      • Add Product Main Price
      • Edit Product Main Price
      • Edit Product Price
      • Delete Product Build
      • Edit Product Main Price
      • Add Product Price Group
      • Product Price Groups
      • Edit Product Price Group
      • Check If Catalog Has Price
    • Units
      • Custom Units
        • Custom Units
        • Add Unit
        • Edit Unit
      • All Units
      • Default Units
      • One Unit
      • Product Child Units By Product Id
      • Child Units By Ids
      • Display Child Units Taken For The Product
      • Weight Height Unit Children
      • One Unit Child
    • Orders
      • Save Abandoned Order
        POST
      • Save Or Update to Abandoned Order
        POST
      • Change Abandoned Order Status
        PUT
      • Change Payment Method And Status In Order
        PUT
      • Change Item Qty Or Remove
        POST
      • Display Abandoned Order
        GET
      • Display Total Price Of The Order
        GET
      • Display User Order List
        GET
      • Display User Orders List V2
        GET
      • All Orders
        GET
      • All Orders Daily
        GET
      • Order Details
        GET
      • Unpaid Order List
        GET
      • Create New Order
        POST
      • Display One Order With Details If No sales_order_id
        GET
      • Update reservation_id In Order
        PUT
      • Order Shipping Methods
        POST
      • Order Payment Methods
        POST
      • Order Status
        GET
      • Order Payment Status
        GET
      • Order Shipping Status
        GET
      • Post Or Update Order Fields
        POST
      • Add Items To Order
        POST
      • Edit Order Item Fields
        POST
      • Delete Order Item
        DELETE
      • Update Order And Item
        POST
      • Update Order Item Delivery Note
        POST
      • Update Payment Status
        PUT
      • Create New Order V2
        POST
      • Update employee_id In Order
        PUT
      • Check Order And Item
        GET
      • Update Order Status V2
        PUT
      • Cancel Reservation And Employee In Order Item
        POST
      • Update Order Invoice Id
        PUT
      • Get Order Status
        GET
    • Standard Products
      • All Standard Products
      • Import Standard Products
    • LFM
      • List Of Folders And Images
      • Create New Folder
      • Upload New Image
      • Move Image Or Folder
      • Rename Image Or Folder
      • Delete Image Or Folder
    • Reviews
      • All Reviews
      • Add Review
      • One Review
      • Edit Review
      • Delete Review
    • Barcodes
      • All Barcodes
      • Add Barcode
      • Edit Barcode
      • Display Product Details By Barcode
      • One Barcode Data
      • Delete Barcode
    • Attributes
      • All Attributes
      • Add Attributes
      • One Attribute
      • Edit Attribute
      • One Attribute Description
      • Change Attribute Status
      • Change Attribute Decription Status
      • Business Have Atrribute?
      • Display Child Units Taken For The Product
    • Distenations
      • Countries
        • All Countries
        • Add Country
        • One Country
        • Edit Country
      • States
        • All States
        • Add State
        • One State
        • Edit State
      • Cities
        • All Cities
        • Add City
        • One City
        • Edit City
      • Districts
        • All District
        • Add District
        • One District
        • Edit District
      • All Districts
      • All Countries
      • One District
      • All Cities
      • All Mosques
    • Inventory And Showroom
      • Inventories
        • All Inventories
        • Add New Inventory
        • Edit Inventory
        • All Inventory Item
        • Add New Inventory Item
        • Add New Inventory Trancfered Item
      • Inventories_v2
        • Inventories List
        • Add Inventory Item
        • Inventory Item List
        • Transfer Orders
        • Add Trancfered Order
        • Transfer Order And Items
        • Inventory Requests List
        • Inventory Transfers Transactions
        • One Transfers Transaction
        • Save Transfers Transaction
        • Available_Items
        • New Inventory Transfers
        • Transaction Items
        • Save Transaction Items
        • Inventory Item List_111
        • validate Inventory Or POS Session
      • Inventory Category
        • All Inventory Categories
        • Add Inventory Category
        • One Inventory Category
        • Edit Inventory Category
      • Showroom
        • Showroom List
        • Add New Showroom
        • Edit Showroom
        • All User Pos Sessions
        • Last POS Session
        • POSProductsList
        • POSProductsList V2
        • Add Pos Session Log
        • session_details
      • Showroom Category
        • All Showroom Categories
        • Add Showroom Category
        • One Showroom Category
        • Edit Showroom Category
    • Audit Sessions
      • Audit Session Items
        • All Audit Session Items
        • Add New Audit Item
        • Add New Audit Item
      • All Audit Sessions
      • Add New Audit Session
      • One Audit Session
      • Edit Audit Session
      • End Audit Session
    • Venues
      • Venues
        • All Venues
        • Active Venues
        • Add Venue
        • One Venue
        • Edit Venue
      • Venue Category
        • All Categories
        • Add Category
        • One Category
        • Edit Category
      • Tickets
        • All Tickets
        • Generate Ticket
        • One Ticket
    • Discounts
      • All Discounts
      • Add Discount
      • One Discount
      • Edit Discount
      • Apply Discount
    • Locations
      • All Locations
      • Add Location
      • One Location
      • Edit Location
    • Favourites
      • All Favourites
      • Add Or Remove Catalog From Favorites Copy
    • Galleries
      • All Galleries
      • Add Galleries
      • One Gallery
      • Edit Galleries
    • Banner
      • All Banners
      • Add Banner
      • One Banner
      • Edit Banner
    • News
      • All News
      • Add News
      • One News
      • Edit News
    • Pages
      • All Pages
      • Add Pages
      • One Page
      • Edit Pages
    • Catalog Comments
      • All Catalog Comments
      • Add Catalog Comment
      • One Catalog Comment
      • Edit Catalog Comment
      • Delete Catalog Comment
    • Artist
      • All Artist
      • Add Artist
      • One Artist
      • Edit Artist
  • HR Module
    • employees
      • employees
      • employee
      • employee By User Id
      • select employee
      • employees_have_same_skill
      • array_of_employees_have_same_skill
      • employees/reduce
      • trashed employees
      • POST/ add employee
      • employee_bulk
      • update_employee
      • delete employee
      • get user profile
      • get Reservation Count
      • get Trainer Employees
      • update Occupation Id
      • update Main Profile
      • employees Have Service Skills
      • employee Fingerprint Locations
      • employees bulk Activation
      • Add Accounts User
    • skills
      • GET/ skils
      • GET/ skill
      • POST/ add skill
      • PUT/ skill
      • DELETE/ skill
    • administration
      • GET/ administration
      • administration - trashed
      • POST/ administration
      • PUT/ administration
      • DELETE/ administration
      • restor Administration
    • sections
      • GET/ sections
      • GET/ section by id
      • sections_by_administration
      • POST/ add section
      • PUT/ section
      • delete - section
    • employee - vacation
      • GET/ vacations
      • POST/ vacation
      • PUT/ vacation
      • DELETE/ vacation
    • residence-status
      • residences
      • residences
      • residences Copy
      • residences
    • contracts
      • all contracts
      • show contract
      • business - all contracts
      • Contract Media
      • create contract
      • edit contract
    • departments
      • GET/ department
      • POST/ add department
      • PUT/ department
      • DELETE/ department
    • payslips
      • payslips
      • get payslip
      • employee_payslips
      • payslips - trashed
      • add payslips
      • restore - payslip
      • update
      • delete - payslip item
      • delete - payslip
      • get Scheduled Approved Payslips
      • edit Payslip Status
      • bulk Update Payslips Status
      • check in_review payslip status
    • settings
      • update settings
      • get Business Settings
    • setting - payrole
      • all payroles
      • settings - payroles - infractions
      • active_infractions
      • update setting - payrole
      • delete Payrol
      • settings - payroles - repetition
    • settings - schedule tiems
      • scheduletiems
      • insert - update schedule times
      • schedule times
    • settings - vacations
      • vacations
      • vacation
      • vacation
    • employee - measure
      • measures
      • measures
      • update measures
      • update Measure Status
      • delete measures
    • employee - measure - status
      • measures - status
      • add - measures - status
      • update measures - status
      • delete measures - status
    • penalties
      • GET/ penalties
      • POST/ penalte
      • DELETE/ penalte
    • loan
      • all loans
      • one Loan
      • add - loan
      • update Loan
      • loan
    • employees v2
      • employees
      • employee
      • employees/reduce
      • add employee
      • update
      • delete employee
    • payslip v2
      • payslips
      • payslip
      • update
    • will delete
      • skills type
        • GET/ skils typs
        • POST/ add skill type
        • PUT/ skill type
        • DELETE/ skill
      • Currencies
        • GET/ currencies
        • GET/ currencie
        • POST/ add currencies
        • POST/ edit currencie
        • DELETE/ delete currencie
      • nationalities
        • GET/ nationalities
        • GET/ nationalitie
        • POST/ add nationalitie
        • POST/ edit nationalitie
        • DELETE/ delete nationalitie
      • occupations
        • GET/ occupations
        • GET/ occupation
        • POST/ occupation
        • PUT/ occupation
        • DELETE/ occupation
      • companies
        • GET/ companies
        • GET/ company
        • POST/ company
        • PUT/ company
        • DELETE/ company
      • employers
        • GET/ employers
        • GET/ employer
        • POST/ employer
        • PUT/ employer
        • DELETE/ employer
      • activations
        • GET/ activations
        • get activation
        • POST/ add activations
        • PUT/ edit activations
        • DELETE/ delete activations
    • settings-infractions
      • all infractions
      • infraction repetitions
      • update setting infraction
      • active_infractions
    • Agreements
      • all agreements
      • get one agreement
      • add agreement
      • update agreement
      • update agreement status
      • available Employees To Work
    • Settings agreement status
      • all agreements status
      • add agreement status
      • update agreement status
      • delete agreement status
    • Settings agreement invoices status
      • all agreements status
      • add agreement status
      • update agreement status
      • delete agreement status
    • Entry and Exit
      • get all
      • employee Day Activity
      • employee Attendance Summary
      • export excel
      • employee finger print
    • Logs
      • get all
      • get one
    • Requests
      • All Requests
      • get Employee Requests
      • add New Request
      • update Request Status
    • Audits
      • All Audits
    • GET/business_id
    • test
  • Calendar Module
    • Calendars
      • new_calendar
      • add_new_calendars
      • update_calendars
      • show Calendars With Working hours
      • time_zone_list
      • calendars_list
      • edit_calendar
      • delete_calendar
      • show_calendar
      • all_business_calendars_list
      • all_calendars_list[my-other-standard]
    • Calendar Working Hours
      • show_working_hours
      • add_work_hours
      • edit_work_hours
      • all_week_days
      • calendar_working_hours
    • Calendar Vacations
      • calendar_vacation
      • add_Vacation
      • edit_vacation
      • show_vacation
      • get_week_vacation_days
    • Calendar Break
      • new_break
      • all_breaks
      • one_break
      • update_break
      • delete_break
    • Calendar Tours
      • add New Tour
      • update Tour
      • get Customer Categories Tours
      • get Tour Customer Categories Ids
      • get Tour Categories Ids
      • get Audience Statistics
      • get Category Type Statistics
      • get Attendance Statistics
      • get Array Of Tours Id
      • get Tours Reservations
      • get Customer Category Venue Id
    • Attendances
      • get Attendances
      • get One Attendance
      • get Customer Attendances
      • get Customer Bookings
      • get Customer Booked Bookings
      • get Tout Category Customer Ids
      • add New Attendance
      • update Attendance
      • update Multi Attendances
      • change Customer Tour Status
      • auto Mark Not Attended Tours
      • decrypt QR
      • show QR Code
      • get Attendances Dates and times
      • get Attendances Times By Dates
      • get Categories Attendance By Tour Copy
      • delete Attendance Item
    • Events
      • add_event
      • all_calendar_events
      • edit_event
      • show_event
      • destroy_event
      • get_employee_times
      • get_available_employee_times
      • get_all_user_calendars_events
      • drag Drop Update Event
      • get Employees Events
      • get Employee Slots
      • get Employee Today And Tomorrow Slots
      • get Slot Details
    • Services
      • services_list
      • service_details
      • service_employees
      • add_service
    • Default Calendar
      • add_default_calendar
      • get_default_calendar
    • Reservtions
      • reservation_status_list
      • chang_reservation_status
      • update Reservations Status
      • employee_reservations_count
      • Employees_reservation_num
      • get_reservations_daily
      • get_reservations_monthly_yearly
      • get One Reservation
      • get Today-Tomorrow Reservations
      • add Delivery Note Id
      • update service ecomm_id
      • get Reservations By Order Id
    • BI
      • get Tables
      • get Table Columns
    • Customers
    • company_branches
    • business_employees
    • get available_specialists
    • get pos_available_specialists
  • Accounting Module
    • payslips
      • approve_payslip
    • business_v4
      • update_business
    • Production Orders
      • Average cost
      • store-production-acc-total
    • Divisions
      • divisions_list
      • get_division
    • Gateways
      • Telr
        • checkout
    • Branches
      • create_branch
      • nearest_customers
    • Countries
    • Add invoice
      • income_accounts_list
      • add_invoice
      • get_customers_list
    • Employees_invoice_paymanet
      • Apis_v4
        • customers
          • Get_Customers
          • Get_customer_invoices_list
          • Get_customer_wallet_list
          • Get_customer_receivable_list
          • add_one_customer
          • update_one_customer
          • show_one_customer
        • customers_categories
          • Get_customers_categories
          • add_one_customers_category
          • show_one_customers_category
          • update_one_customers_category
        • customers_branches
          • get_customers_branches
          • get__one_customer_branch
          • add_one_customer_branch
          • update_one_customer_branch
      • add_new_payment
      • bank_cash_list
      • AllCurrencies
    • Payslip items
      • ItemsList
      • add_item
      • edit_item
      • delete_item
      • get by id
      • add_invoice Copy
    • Authentication
      • Redirect Auth
      • Show User By Token
    • Accounts Totals
      • All Accounts Totals
    • Journal Totals
      • All Journals
      • daily_year_month
    • Account logs
      • Create Log
      • Create Log Copy
    • Modules
      • All Modules
      • Show Module
      • Sub Sub Modules
    • Taxes
      • Show Tax
      • All Taxes
      • get_one_tax
    • Inventory items
      • all inventory items
    • Cash And Bank Accounts
      • All Cash And Banks Accounts
      • Add Account
      • Get Cash Account
    • Customers And Suppliers
      • Authentication
        • v4
          • update_one_customer
          • get_customer_from_token
          • reset_password
          • add_one_customer
        • v3
          • add_one_customer
          • customer_login
          • reset_password
          • forgot_password
          • send_otp
          • confirm_otp
          • send_email_otp
          • confirm_email_otp
          • reset_password_by_mail
          • forgot_password_by_mail
          • phone_exist
          • add_pos_customer
      • Home
        • GetCustomer/Supplier Wallet total
        • Get_Customers
        • Get_customer_invoices_list
        • Get_customer_wallet_list
        • Get_customer_receivable_list
        • show_one_customer
        • show_one_customer_by_id
        • show_multi_customers_by_id
        • get_customer_by_phone
      • Charts
        • Charts Suppliers And Customers
        • Charts Count Suppliers And Customers Copy
      • Categories
        • Get_customers_categories
        • add_one_customers_category
        • show_one_customers_category
        • update_one_customers_category
      • Branches
        • get_customers_branches
        • get__one_customer_branch
        • add_one_customer_branch
        • update_one_customer_branch
    • Payments Recipts
      • All Payments Receipts
      • Create Payment Receipt
      • Create Payment Receipt Ecommerce
      • New Payment Checkout
      • Create Advance Receipt
    • Accounts
      • All Accounts
    • Journal entries
      • Create Journal
      • All Journal Entries
    • Inventory Locations
      • All Inventory Locations
      • Inventory Location from driver
    • Good Receipts
      • Create Good Receipts
    • Delivery Notes
      • All Delivery Notes
      • Create delivery note
    • Purchase invoices
      • All Purchase Invoices
    • Sales invoices
      • v4
        • Sales invoices
          • All Sales Invoices
          • AddOneInvoice
          • ShowOneInvoice
      • Add POS Invoice
      • All Sales Invoices
      • Customer Invoices
      • Create Invoice
      • Create Invoice For VODO APP
    • Special Accounts
      • Special Accounts
    • Capital Accounts
      • All Capital Accounts
    • Fixed Assets
      • All Fixed Assets
    • Businesses
      • Show business
      • All Business
      • Show business secure
    • Accounting_APIs_v4
      • Sales invoices
        • All Sales Invoices
        • AddOneInvoice
        • ShowOneInvoice
      • SalesQuotes
        • GetSalesQuotes
        • AddOneSalesQuote
        • ShowOneSalesQuote
        • UpdateOneSalesQuote
        • DeleteOneSalesQuote
      • SalesQuotes Copy
        • GetSalesQuotes
        • AddOneSalesQuote
        • ShowOneSalesQuote
        • UpdateOneSalesQuote
        • DeleteOneSalesQuote
      • SalesOrders
        • Get_Sales_orders
        • Add_one_Sales_order
        • Show_one_Sales_order
        • Update_one_Sales_order
        • Deleate_one_Sales_order
        • add_update_order_due
      • CustomersAPis
        • customers
          • customers Copy
            • Get_Customers
            • Get_customer_invoices_list
            • Get_customer_wallet_list
            • Get_customer_receivable_list
            • add_one_customer
            • update_one_customer
            • show_one_customer
            • show_one_customer_by_id
            • update_customer_phone
            • show_multi_customers_by_id
            • get_customer_by_phone
          • Get_Customers
          • Get_customer_invoices_list
          • Get_customer_wallet_list
          • Get_customer_receivable_list
          • add_one_customer
          • update_one_customer
          • show_one_customer
          • show_one_customer_by_id
          • update_customer_phone
          • show_multi_customers_by_id
          • get_customer_by_phone
        • customers_branches
          • get_customers_branches
          • get__one_customer_branch
          • add_one_customer_branch
          • update_one_customer_branch
      • Currencies
        • GetAllCurrencies
        • Get_currency_with_exchage
        • Get_base_currency
      • BankCashAccounts
        • get_acutal_balance
      • Refund
        • refund_invoice
        • All Refund Sales Invoices
        • Refund Sales Invoices Items
    • v5
      • Customers Or Suppliers
        • Categories
          • Create Category
          • All Categories
          • Update Category
          • Delete Category
        • Branches
          • All Branches
          • Create Branch
          • Update Branch
          • Show Branch
          • Delete Branch
        • Create Customer Or Supplier
        • Get All Customers Or Suppliers
        • Update Customer Or Supplier
        • Show Customer Or Supplier
        • Show Accounts Receivable
        • Show Wallet Transactions
      • Bank And Cash Accounts
        • Get All Cash And Bank Accounts
        • Create Cash Or Bank Account
        • Update Cash Or Bank Account
        • Show Cash Or Bank Account
      • Inter Account Transfers
        • Update Transfer
        • Get All Inter Account Transfers
        • Create Transfer
        • Show Transfer
      • Payment And Receipt
        • Update Payment Or Receipt
        • All Payment Or Receipt
        • Show Payment Or Receipt
        • Delete Payment Or Receipt
        • Create Payment Or Receipt
      • Sales Invoices
        • Update Invoice
        • All Sales Invoices
        • Show invoice
        • Create Invoice
      • Chart Accounts
        • Get All Chart Accounts
      • Currency
        • Add Currency To The Business
        • Get All Currencies Symbols
        • Get All Foreign Currencies
    • Send Mails
    • get_customer_cat_by_id
    • check_business_tax_required
  • CRM Module
    • Support Tickets
      • All Support Tickets
      • Add Support Ticket
      • One Ticket
      • Edit Support Ticket
      • Reply To Support Ticket
      • Download Ticket Attachment
    • Whatsapp Integration
      • Send Message
      • Send Template Message
  • Managment Module
    • WorkSpaces
      • Boards
        • get Boards
        • get Board
        • add Board
        • update Board
        • Archive Board
        • Delete Board
      • Attachments
        • Get Attachments
        • Get Attachment
        • add Attachment
        • Delete Attachment
      • Projects
        • Get Projects
        • Get Project
        • Add Project
        • Update Project
        • Delete Project
      • Tasks
        • Get Tasks
        • Get Task
        • Add New Task
        • Update Task
        • Delete Task
        • Force Delete Task
        • Assign Users To Task
      • get WorkSpaces
      • get Workspace
      • add Workspace
      • update Workspace
      • delete Workspace
      • Add Team To Workspace
  1. Orders

Create New Order

Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
POST
/api/v2/create_new_order
Last modified:2025-04-13 15:12:46
Description: Creates a new order with specified products, user details, and delivery information. Place a new order with user, product, and delivery details.
Headers
KeyValueDescriptionType
secure-business-key140356399db2b2c32f0.25237063Business-specific key; contact support for valid values. Requiredstring
langarLanguage preference: ar for Arabic, en for English.string
Query Parameters
KeyValueDescriptionType
calendar(empty)Optional flag for calendar-related orders.string
kiosk(empty)Optional flag for kiosk orders.string
order_meals(empty)Optional flag for meal-specific orders.string
Body or Form Data
KeyValueDescriptionType
user_id40762User ID from authentication API. Requiredinteger
product_id[3245]Array of product IDs from ecommerce API. Requiredarray[integer]
employee_id[587]Array of employee IDs.array[integer]
item_qty[6]Array of quantities for products.array[integer]
check_in_date2025-12-01Check-in date for the order.string
check_out_date2025-12-05Check-out date for the order.string
first_meal_date2025-12-03First meal date for the order.string
user_emailabdelrahman.elazizy.1999@gmail.comUser’s email.string
user_phone010610645418User’s phone number.string
user_first_nameAbdooUser’s first name. Requiredstring
user_last_nameAhmedUser’s last name. Requiredstring
delivey_date2025-12-01Delivery date for the order.string
commentOrder for mosque eventOptional comment for the order.string
address123 Mosque St.Delivery address.string
longitude25.276987Longitude for delivery location.string
latitude55.296249Latitude for delivery location.string
number_of_guests20Number of guests for the order.integer
nationality_of_guests21Nationality ID of guests.integer
mosque_id1Mosque ID for the order.integer
first_day_meals[22280]Array of meal IDs for the first day.array[integer]
last_day_meals[22280]Array of meal IDs for the last day.array[integer]
price_filters.attributes121Attribute ID for price filtering.integer
order_type121Order type ID.integer
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.testecommerce.vodoerp.com/api/v2/create_new_order?calendar=&kiosk=&order_meals=' \
--header 'secure-business-key: 140356399db2b2c32f0.25237063' \
--header 'lang: ar' \
--header 'Content-Type: application/json' \
--data-raw '{
    "user_id": 40762, // Get user id from https://testaccounts.vodoerp.com/api/login or https://accounts.vodoerp.com/api/login
    "product_id": [3245], // Get products from https://www.testecommerce.vodoerp.com/api/v1/ecomm_products or https://www.ecommerce.vodoglobal.com/api/v1/ecomm_products
    // "item_qty": [6],
    "employee_id": [587]
    // "check_in_date": "2025-12-01",
    // "check_out_date": "2025-12-05",
    // "first_meal_date": "2025-12-03",
    // "user_email": "abdelrahman.elazizy.1999@gmail.com",
    // "user_phone": "010610645418",
    // "user_first_name": "Abdoo",
    // "user_last_name": "Ahmed",
    // "delivey_date": "2025-12-01",
    // "comment": "Order for mosque event",
    // "address": "123 Mosque St.",
    // "longitude": 25.276987,
    // "latitude": 55.296249,
    // "number_of_guests": 20,
    // "nationality_of_guests": 21,
    // "mosque_id": 1,
    // "first_day_meals": [22280],
    // "last_day_meals": [22280],
    // "price_filters": {
    //     "attributes": 121
    // },
    // "order_type": 121
}'
Response Response Example
{}

Request

Query Params
calendar
string 
optional
kiosk
string 
optional
order_meals
string 
optional
Header Params
secure-business-key
string 
required
You must contact support to get the secure-business-key like: 4765066450c0bd66325.48403130
728106399db2b289783.89154521
2680667168f2f8a68f6.12561200
140356399db2b2c32f0.25237063
96701678e330f31f768.22400604
14807664478836358b0.31329842
Example:
140356399db2b2c32f0.25237063
lang
string 
required
ar => Arabic or en => English
Example:
ar
Body Params application/json
user_id
integer 
required
product_id
array[integer]
required
employee_id
array[integer]
required
Examples

Responses

🟢200Success
application/json
Body
object {0}
Previous
Unpaid Order List
Next
Display One Order With Details If No sales_order_id
Built with