Schedule a meeting

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

user_info

Object - Required

User Info Definition.

external_tracking

String - Required

Client's package number sent when creating the package.

copa_id

Integer - Required

Client identificator provided by Skypostal.

User Info Definition

Parameters

user_code

Integer - Required

This is the user code provided by Skypostal.

user_key

String - Required

This is the app key provided by Skypostal.

app_key

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
}