Shipping Options Update

Shipping options update allows you to set the shipping method, weight, extra packages, and other shipping options given a specific order id (txn id).

API Endpoint
The API is provided at the following address:

https://www.teapplix.com/h/[your teapplix account name]/ea/api.php?User=xxxx&Passwd=xxxx&Action=ShipOptions

Example of calling Shipping Option Update API using "curl":

curl -k --form --form upload=@"$file" "https://www.teapplix.com/h/[your teapplix account name]/ea/api.php?User=xxxx&Passwd=xxxx&Action=ShipOptions"

 

Variables
The file used to update the Shipping Option can conttain the followings variables:

txn_id - the order id
ship_method - must match exact Teapplix ship method string (here is a full list of the Teapplix ship methods for US Shipping Carrier , and All Shipping Carrier )
ship_weight
weight_unit
length
width
depth
queue_id
customes_value
memo - Order notes. By default it will be apended to the current order notes.
replace_memo - If this parameter presents and equals "1" or any value except "0" the memo value will replace the current order notes.
....

Below is an example of an input file content:

[
{
"txn_id": "14496599",
"ship_method": "FIRST/RECTPARCEL",
"ship_weight": "12",
"label_sku": "test-label-sku",
"queue_id": "3"
},
{
"txn_id": "AM-US-AU-WPX-02",
"ship_method": "PRIORITY/RECTPARCEL",
"ship_weight": "64",
"weight_unit": "oz",
"package_type": "0",
"length": "7",
"width": "12",
"depth": "7",
"queue_id": "",
"extra_packages": [
{
"package_no": "2",
"package_type": "0",
"ship_weight": "64",
"weight_unit": "oz",
"length": "7",
"width": "12",
"depth": "7"
},
{
"package_no": "3",
"package_type": "0",
"ship_weight": "80",
"weight_unit": "oz",
"length": "7",
"width": "12",
"depth": "7"
}
]
}

]