Modify Order

Request Service

  • modifyOrder

Request Method:

  • POST

Request Sample:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.example.org/">
    <SOAP-ENV:Body>
        <ns1:callService>
            <paramsJson>
                {
                  "order_code":"XX-201212-0001",
                  "remark":"test-api-888"
                }
            </paramsJson>
            <appToken>appToken</appToken>
            <appKey>appKey</appKey>
            <service>modifyOrder</service>
        </ns1:callService>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request Parameter:

Parameter Type Required Remark Length Limited
order_code String Y Order code 30
platform String N Platform, ALIEXPRESS, AMAZON, B2C, EBAY, OTHER 20
shipping_method String Y Shipping methohd,refer to API getShippingMethod 30
warehouse_code String Y Warehouse Code,refer to API getWarehouse 20
country_code String Y Country Code 20
province String Y State 128
city String N City 20
address1 String N Address line 1 (length:30) 50
address2 String N Address line 2 (length:30) 50
zipcode String N Postal code 20
doorplate String N doorplate 32
company String N Company name 360
name String Y Name 200
phone String N Phone 1 20
cell_phone String N Phone 12 20
email String N Emal 50
sender_name String N Shipper Name 20
sender_phone String N Shipper phone no 20
sender_po String N Face to face Po # (this item will be displayed on the [Po No.] of the logistics face to face list) 50
platform_shop String N Platform Shop Name 50
order_cod_currency String N Currency
is_signature int N Signature: 0-No 1-Yes
is_insurance int N Insurance: 0-No 1-Yes
is_prime int N Urgent level: 0-None 1-SFP order 2-VC order
insurance_value int N Insured amount (this item is not enabled, and the insured amount is the declared value of the product)
remark String N Order remark 200
verify int N 0-Save as draft 1: Submit to warehouse
tracking_no String N Tracking no
seller_id String N Seller ID 128
inventory_type int N Inventory type: 0: standard 4: return 9: all (priority return inventory) Note: default 0 standard
vat_tax_number String N VAT tax number 30
items Object Y Order items
label Object N Order attachment 200
order_placement_time Date N Date Format【yyyy-MM-dd HH:mm:ss】,UTC time

items:

Parameter Type Required Remark Length Limited
product_sku String Y SKU 30
platform_transcation_id String N Platform order ID (eBay platform: corresponding ebaytransactionid) 100
platform_item_id String N Platform product ID (eBay platform: corresponding ebayitemid) 100
product_name String N Chinese declaration name 100
product_name_en String N English declaration name 100
product_declared_value BigDecimal N Declared value
quantity int Y Quantity

label:

The file size should not exceed 6M

Parameter Type Required Remark
file_type String N File type(pdf/png/jpg)
file_size String N File size(e.g. 100x150 )
file_data Array[String] N Arry of base64 for file

Response Sample:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SOAP-ENV:Envelope xmlns:ns1="http://www.example.org/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <ns1:callServiceResponse>
            <response>
                {
                  "ask":"Success",
                  "message":"修改订单成功",
                  "nextPage":false,
                  "order_code":"XX-201212-0001"
                }
            </response>
        </ns1:callServiceResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response Parameter:

Parameter Type Remark
ask String Request Result: success or failure
message String Response message
nextPage boolean Identify if have next page or not
receiving_code String System Order Code
Error Object Reference to Error section
作者:WesternPost  创建时间:2021-07-02 01:36
最后编辑:覃超华  更新时间:2024-12-31 02:56