Developers » API methods » Market » market.editOrder
Marketmarket.editOrder
Edits an order.
This method can be called with a user token. Access rights required: market.
This method can be called with a community token. Access rights required: market.
Parameters
user_iduser id
positive number, required parameter
order_idorder id
positive number, required parameter
merchant_commentmerchant comment
string, maximum length 400
status
positive number
track_number
string, maximum length 60, accessible for versions from 5.130
payment_status
string, accessible for versions from 5.130
delivery_price
positive number, accessible for versions from 5.130
width
positive number, maximum value 100000, accessible for versions from 5.130
length
positive number, maximum value 100000, accessible for versions from 5.130
height
positive number, maximum value 100000, accessible for versions from 5.130
weight
positive number, maximum value 100000000, accessible for versions from 5.130
comment_for_user
string, maximum length 200, accessible for versions from 5.139
Result
Returns 1 if succeeded.
Errors
1427Cart is empty
1429Specify width, length, height and weight all together
1430VK Pay status can not be changed
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
5.130
market.editOrder , : delivery_price ;
track_number -;
payment_status .

:
width ;
length ;
height ;
weight .

merchant_comment .
Affects methods market.editOrder