Shipment
Delete Shipment
This service deletes the information from a package that has been just created.
URL
PROD https://api.skypostal.com/
TEST https://api-test.skypostal.com/
Endpoint
POST /wcf-services/service-shipment.svc/shipment/delete-pre-shipment
Request Credentials
Parameters | |
---|---|
| Object - Required User Info Definition. |
| String - Required Client's package number sent when creating the package. |
| Integer - Required Client identificator provided by Skypostal. |
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",
"copa_id": 616
}
The command will return the following format:
{
"data": [
{
"_verify": true,
"deleted_rows": 5,
"additional_info": null,
"error": null
}
],
"additional_info": null,
"error": null
}