Shipment
Update harmonized code
This endpoint updates the harmonized code.
URL
PROD https://api.skypostal.com/
TEST https://api-test.skypostal.com/
Endpoint
POST /wcf-services/service-shipment.svc/shipment/update-harmonized-code
Request Credentials
Parameters | |
---|---|
| Object - Required User Info Definition. |
| String - Required if order label is not sent Client's package number sent when creating the package. |
| String - Required if external tracking is not sent Label's printed number/barcode. |
| Integer - Required Client identificator provided by Skypostal. |
| String - Required Harmonized code for the type of product. Minimun 4 digits (optimum 6). |
User Info Definition
Parameters | |
---|---|
| Integer - Required This is the user code provided by Skypostal. |
| String - Required This is the app key provided by Skypostal. |
| String - Required This is the app key provided by Skypostal. |
Remember
user_code
, user_key
, app_key
and copa_id
are generic credentials, make sure to request your own for TEST
and PROD
environemnts
The command should be run as in the following example:
{
"user_info": {
"user_code": 123123,
"user_key": "ok",
"app_key": "ok"
},
"external_tracking": "testbr-222",
"order_label": "784919594274",
"copa_id": 616,
"harmonized_code": "491010"
}
The command will return the following format:
{
"data": [
{
"_verify": true,
"updated_rows": 5,
"additional_info": null,
"error": null
}
],
"additional_info": null,
"error": null
}