# Change Order Price

Currently only support to change the price, We do not support raising the price for the time being.

Each time a price change is made for each item(Same sku_id)Defines the most recent total price of the item, and defaults to the price unchanged if the item is not entered in the request.

Orders can be modified up to 50 times before payment. All price changes will be invalidated after each new price change on the same order is executed successfully.

# Interface call request specification

Http request method: POST

# Request Parameter Sample

    "order_id": 123456,
    "change_express" : true,
    "express_fee" : 0,
    "change_order_Infos ": 
            "product_id": 1234,
            "sku_id" : 5678,
            "change_price" : 300

# Return Package Example

    "errcode": 0,

# Request Parameter Dxplaination

parameter type Is it necessary to fill out Introductions
order_id number yes Order id
change_express bool yes Whether to modify the freight
express_fee number no Revised freight rate change_Express = true to specify, do not fill the default is 0), to divide into units
change_order_infos[].product_id number yes Goods id
change_order_infos[].sku_id number yes Goods sku
change_order_infos[].change_price number yes The revised total price of the goods in the order, divided into units

# Return parameter specification

parameter type Introductions
Errcode number Error code
errmsg string Error message

# Return code

Return code Type of error
-1 System exception
-2 Token is too long
9401020 Wrong parameter
9401021 Call the api without permission
101100 Orders are not unpaid orders and cannot be changed.
108022 The order has been changed more than 50 times
108021 The revised price of a product or freight exceeds the original price
108023 Revised order price is 0