Edara API
  1. Sales
Edara API
  • Edara API Walk Through
  • Edara Webhooks
  • Accounting
    • Returns a list of Taxs
    • Returns a list of Accounts
    • Returns a list of NP Report
    • Returns a list of NR Report
    • Return a Tax by ID
    • Returns a list of Cost Centers
    • Returns an Account by Id
    • Return a Currency by ID
    • Delete an existing Currency
    • Return a Tax by Name
    • Return a Taxes by Rate
    • Return a Taxes by Scope
    • Returns an Cost Center by Id
    • Return a E-Invoice tax codes by country
    • Returns a list of Accounts by Account Type
    • Return a Currency by Code
    • Returns a list of Account Nodes
    • Returns a list of Currencies
    • Update an existing Currency
    • Create a new Currency
    • Return account by description
    • Return a Journal Entry by Code
    • Returns an Account
    • Returns an Account
    • Returns an Account by ClassificationCode
    • Returns an Account
    • Returns Account Balance
    • UpdateTax
    • Create a new Tax
    • Update an existing Currency
    • Update a Journal Entry By Code
    • Return a Journal Entry by Code
    • Create a Cash Out
    • Create a Journal Entry
    • Pay Sales Order By Journal Entry
    • Create a Taxable Sales Invoice
    • Delete an existing Tax
    • Delete an existing Currency
    • Delete a Journal Entry by Code
  • Common
    • Returns a list of Cities
    • Update an existing City
    • Create a new City
    • Returns a list of Countries
    • Update an existing Country
    • Create a new Country
    • Returns a list of Districts
    • Update an existing District
    • Create a new District
    • Return a City by ID
    • Delete an existing City
    • Return a Country by ID
    • Delete an existing Country
    • Return a District by ID
    • Delete an existing District
    • Find a City by Name
    • Returns a list of Districts by City Id
    • Returns a list of Cities by Country Id
    • Find a Country by Name
    • Find a District by Name
    • Return a Classification by ID
    • Return a Setting by Module and Key
    • Find a Classification by Name
    • Returns a list of Setting
    • Convert money from numeric value to Arabic words
    • Convert money from numeric value to English words
    • Ping
    • Notifications
  • Purchase
    • find supplier by Id
    • Delete supplier
    • Return a PurchaseOrder by ID
    • find supplier by name
    • Returns a list of Suppliers
    • update supplier
    • create supplier
    • Returns a list of PurchaseOrder
    • Return a PurchaseOrder by Code
  • Sales
    • Return a Customer by ID
      GET
    • Delete an existing Customer
      DELETE
    • Return a Bundle by ID
      GET
    • Delete an existing Bundle
      DELETE
    • Returns a list of Sales Order Print Templates
      GET
    • Return a SalesOrder by ID
      GET
    • Delete an existing SalesOrder
      DELETE
    • Return a SalesPerson by ID
      GET
    • Delete an existing SalesPerson
      DELETE
    • Return a ServiceItem by ID
      GET
    • Delete an existing ServiceItem
      DELETE
    • Return a Customer Addresses by Customer ID
      GET
    • Return a Customer by Code
      GET
    • Return a Customer by Name
      GET
    • Return a Customer by Email
      GET
    • Find a Customer
      GET
    • Return a Customer by ExternalId
      GET
    • Return a Customer by Mobile
      GET
    • Returns a list of Customers
      GET
    • Update an existing Customer
      PUT
    • Create a new Customer
      POST
    • Return a SalesOrder by Code
      GET
    • Return a Sales Order Print Template by ID
      GET
    • GetCustomerBalance
      GET
    • Return a SalesPerson by Code
      GET
    • Return a SalesPerson by Name
      GET
    • Return a ServiceItem by Code
      GET
    • Return a ServiceItem by Name
      GET
    • Return a SalesPerson by ExternalId
      GET
    • Returns a list of SalesPersons
      GET
    • Update an existing SalesPerson
      PUT
    • Create a new SalesPerson
      POST
    • Return a ServiceItem by ExternalId
      GET
    • Returns a list of ServiceItems
      GET
    • Update an existing ServiceItem
      PUT
    • Create a new ServiceItem
      POST
    • Return Customers by ExternalIds
      GET
    • Returns a list of SalesOrder
      GET
    • Update an existing SalesOrder
      PUT
    • Create a new SalesOrder
      POST
    • Returns a list of SalesStores
      GET
    • Create a new SalesStore
      POST
    • Returns a list of Bundles
      GET
    • Create a new Bundle
      POST
    • Return a list of sales documents by specific criteria
      GET
    • Update existing Customers
      PUT
    • Update the Header an existing SalesOrder
      PUT
    • Update existing Customers
      PUT
    • Update existing Customers
      PUT
    • Deactivate an existing Customer
      PUT
    • Update an existing Customer
      PUT
    • Cancel SalesOrder
      PUT
    • Cancel SalesOrder
      PUT
    • Update an existing SalesOrder
      PUT
    • UnIssue SalesOrder
      PUT
    • Deactivate an existing Customer
      PUT
    • Update an existing SalesPerson
      PUT
    • Update an existing ServiceItem
      PUT
    • Update SalesOrder Status
      PUT
    • Create a new SalesReturn
      POST
    • Create sales order and related IO/SI and return created SO code
      POST
    • Create cash-in for specified SO and update it with discount value and return created cash-in code
      POST
    • Create new Customers
      POST
    • Returns a list of SalesOrder Header
      POST
    • Delete an existing Customer
      DELETE
    • Delete an existing SalesPerson
      DELETE
    • Delete an existing ServiceItem
      DELETE
  • Warehouse
    • Return a Brand by ID
    • Returns a list of standard units of measure
    • Returns a list of StockItems Tree by User ID
    • Return a StockItem by ID
    • Deactivate an existing StockItem
    • Delete an existing StockItem
    • Return a Warehouse by ID
    • Delete an existing warehouse
    • Return a WorkOrder by ID
    • Return a StockItem by SKU
    • Returns a list of StockItem Classifications
    • Create a new stockitem classification
    • Return StockItems by IDs
    • Return a StockItem balance by ID
    • Return a Warehouse balance by Warehouse ID
    • Return a Brand by Name
    • Returns a list of Warehouse Tree by User ID
    • GetStockItemGlobalBalanceBySKU
    • Returns a list of Brands
    • Create a new Brand
    • Return StockItems by Codes
    • Return a StockItem by Code
    • GetStockItemGlobalBalanceByCode
    • Return a Warehouse by Code
    • Return a Warehouse by Name
    • Return a WorkOrder by Code
    • Return stock item global balance object by id
    • Return a StockItem by Code or SKU
    • Returns a list of StockItems
    • Update an existing StockItem
    • Create a new StockItem
    • Returns a list of Warehouses
    • Update an existing Warehouse
    • Create a new Warehouse
    • Returns a list of DynamicProperty Tree by User ID
    • Get stock item cost (by id) on specific date
    • Search for StockItems
    • Returns a list of RMA Warehouses
    • Get bulk stock items cost (by SKUs) on specific date
    • Return a StockItem balance for a specific Warehouse
    • Return a StockItem by Part Number
    • Return a StockItem by Code
    • Return StockItems by External IDs
    • Return StockItems by Part Numbers
    • Get bulk stock items cost (by part numbers) on specific date
    • Validate Item Serial is Returned
    • Validate Item Serial for Returns
    • Return a all StockItems balances
    • Get stockitems balance by warehous
    • Update existing StockItems
    • Update existing StockItems
    • Update Stock Item External Id
    • Update existing StockItems
    • Update Supplies Request
    • Update an existing StockItem
    • Update an existing Warehouse
    • Deactivate an existing StockItem
    • Update an existing issue offering
    • Update an existing receive supplies
    • Create a new Unit Of Measure
    • Create StockItems
    • Create a new issue offering
    • Create a new receive supplies
    • Delete an existing StockItem
    • Delete an existing warehouse
    • Delete an issue offering by code
    • Delete an issue offering by code
  1. Sales

Update an existing SalesPerson

PUT
/v{version}/salesPersons
Sales
Update an existing SalesPerson...

Request

Path Params
version
string 
required
The requested API version
Default:
2.0
Body Params application/x-www-form-urlencoded
sales_person_id
integer <int32>
optional
Gets or Sets SalesPersonId
sales_person_code
string 
optional
Gets or Sets SalesPersonCode
name
string 
optional
Gets or Sets Name
classification_code
integer <int32>
optional
Gets or Sets ClassificationCode
credit_limit
number <double>
optional
Gets or Sets CreditLimit
external_id
string 
optional
Gets or Sets External ID

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 PUT '/v/salesPersons'

Responses

🟢200OK
application/json
OK
Body
status_code
integer <int32>
optional
Gets or sets the status_code.
error_message
string 
optional
Gets or sets the error_message.
result
array[boolean]
optional
Gets or sets the result.
total_count
integer <int32>
optional
Example
{
  "status_code": 0,
  "error_message": "string",
  "result": [
    true
  ],
  "total_count": 0
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🔴500Server Error
Previous
Returns a list of SalesPersons
Next
Create a new SalesPerson
Built with