Skip to main content

Void a shipment label

POST 

/v1/proxy/shipping/:carrier_name/cancel

Cancel a shipment and the label previously created

Request

Path Parameters

    carrier_name stringrequired

    Possible values: [allied_express, allied_express_local, amazon_shipping, aramex, asendia_us, australiapost, boxknight, bpost, canadapost, canpar, chronopost, colissimo, dhl_express, dhl_parcel_de, dhl_poland, dhl_universal, dicom, dpd, dpdhl, easypost, easyship, eshipper, fedex, fedex_ws, freightcom, generic, geodis, hay_post, laposte, locate2u, nationex, purolator, roadie, royalmail, sapient, seko, sendle, tge, tnt, ups, usps, usps_international, usps_wt, usps_wt_international, zoom2u]

Body

required

    shipment_identifier stringrequired

    The shipment identifier returned during creation.

    service stringnullable

    The selected shipment service

    carrier_id string

    The shipment carrier_id for specific connection selection.

    options

    object

    Advanced carrier specific cancellation options.

    property name* any

    Default value: [object Object]

    Advanced carrier specific cancellation options.

Responses

Schema

    messages

    object[]

    The list of note or warning messages

  • Array [

  • message string

    The error or warning message

    code string

    The message code

    details

    object

    any additional details

    property name* any

    any additional details

    carrier_name string

    The targeted carrier

    carrier_id string

    The targeted carrier name (unique identifier)

  • ]

  • confirmation

    object

    operation stringrequired

    Operation performed

    success booleanrequired

    Specify whether the operation was successful

    carrier_name stringrequired

    The operation carrier

    carrier_id stringrequired

    The targeted carrier's name (unique identifier)

Loading...