Update an existing SalesOrder
PUT
/v{version}/salesOrders
Sales
Request
Path Params
version
string
required
Default:
2.0
Body Params application/x-www-form-urlencoded
order_status
string
optional
id
integer <int32>
optional
document_code
string
optional
document_type
string
optional
paper_number
string
optional
run_sheet_id
string
optional
customer_id
integer <int32>
required
salesPerson_id
integer <int32>
optional
warehouse_id
integer <int32>
optional
salesstore_id
integer <int32>
optional
shippment_cost
number <double>
optional
document_date
string <date-time>
required
shipping_date
string <date-time>
optional
gross_total
number <double>
optional
sub_total
number <double>
optional
net_total
number <double>
optional
total_item_discounts
number <double>
optional
discount
number <double>
optional
discount_rate
number <double>
optional
taxable
boolean
optional
apply_tax_after_discount
boolean
optional
tax
number <double>
optional
cash_amount
number <double>
optional
currency_id
integer <int32>
optional
exchange_rate
number <double>
optional
channel
string
optional
notes
string
optional
external_id
string
optional
related_workorder_code
string
optional
related_workorder_value
number <double>
optional
related_salesreturn_codes
array[string]
optional
related_salesorder_codes
array[string]
optional
payment_information
object
optional
Additional properties
number <double>
optional
salesOrder_details
array[object (SalesOrderItemViewModel) {22}]
required
id
integer <int32>
optional
document_id
integer <int32>
optional
quantity
number <double>
required
Issuedquantity
number <double>
optional
unit_price
number <double>
optional
price
number <double>
required
tax_id
integer <int32>
optional
item_discount
number <double>
optional
item_discount_type
enum<integer> <int32>
optional
Allowed values:
01
warehouse_id
integer <int32>
optional
bundle_id
integer <int32>
optional
service_item_id
integer <int32>
optional
stock_item_id
integer <int32>
optional
stock_item_code
string
optional
stock_item_description
string
optional
comments
string
optional
returned_quantity
number <double>
optional
insert_user_id
integer <int32>
optional
insert_date
string <date-time>
optional
update_user_id
integer <int32>
optional
update_date
string <date-time>
optional
bundle_quantity
number <double>
optional
salesOrder_installments
array[object (SalesOrderInstallmentViewModel) {7}]
optional
id
integer <int32>
optional
document_id
integer <int32>
optional
days_limit
integer <int32>
optional
amount
number <double>
optional
due_date
string <date-time>
optional
account_id
integer <int32>
optional
payment_type
string
optional
insert_user_id
integer <int32>
optional
insert_date
string <date-time>
optional
update_user_id
integer <int32>
optional
update_date
string <date-time>
optional
address_id
integer <int32>
optional
payment_status
string
optional
other_credit_amount
number <double>
optional
Request samples
Responses
Modified at 2025-02-10 16:54:43