Cancel a pickup
POST/v1/proxy/pickups/:carrier_name/cancel
Cancel a pickup previously scheduled
Request
Path Parameters
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
]
- application/json
Body
required
The pickup confirmation identifier
address
object
Possible values: <= 10 characters
The address postal code (required for shipment purchase)
Possible values: <= 30 characters
The address city. (required for shipment purchase)
Possible values: <= 20 characters
The party frederal tax id
Possible values: <= 20 characters
The party state id
Possible values: <= 50 characters
Attention to (required for shipment purchase)
Possible values: <= 50 characters
The company name if the party is a company
Possible values: [AC
, AD
, AE
, AF
, AG
, AI
, AL
, AM
, AN
, AO
, AR
, AS
, AT
, AU
, AW
, AZ
, BA
, BB
, BD
, BE
, BF
, BG
, BH
, BI
, BJ
, BM
, BN
, BO
, BR
, BS
, BT
, BW
, BY
, BZ
, CA
, CD
, CF
, CG
, CH
, CI
, CK
, CL
, CM
, CN
, CO
, CR
, CU
, CV
, CY
, CZ
, DE
, DJ
, DK
, DM
, DO
, DZ
, EC
, EE
, EG
, ER
, ES
, ET
, FI
, FJ
, FK
, FM
, FO
, FR
, GA
, GB
, GD
, GE
, GF
, GG
, GH
, GI
, GL
, GM
, GN
, GP
, GQ
, GR
, GT
, GU
, GW
, GY
, HK
, HN
, HR
, HT
, HU
, IC
, ID
, IE
, IL
, IN
, IQ
, IR
, IS
, IT
, JE
, JM
, JO
, JP
, KE
, KG
, KH
, KI
, KM
, KN
, KP
, KR
, KV
, KW
, KY
, KZ
, LA
, LB
, LC
, LI
, LK
, LR
, LS
, LT
, LU
, LV
, LY
, MA
, MC
, MD
, ME
, MG
, MH
, MK
, ML
, MM
, MN
, MO
, MP
, MQ
, MR
, MS
, MT
, MU
, MV
, MW
, MX
, MY
, MZ
, NA
, NC
, NE
, NG
, NI
, NL
, NO
, NP
, NR
, NU
, NZ
, OM
, PA
, PE
, PF
, PG
, PH
, PK
, PL
, PR
, PT
, PW
, PY
, QA
, RE
, RO
, RS
, RU
, RW
, SA
, SB
, SC
, SD
, SE
, SG
, SH
, SI
, SK
, SL
, SM
, SN
, SO
, SR
, SS
, ST
, SV
, SY
, SZ
, TC
, TD
, TG
, TH
, TJ
, TL
, TN
, TO
, TR
, TT
, TV
, TW
, TZ
, UA
, UG
, US
, UY
, UZ
, VA
, VC
, VE
, VG
, VI
, VN
, VU
, WS
, XB
, XC
, XE
, XM
, XN
, XS
, XY
, YE
, YT
, ZA
, ZM
, ZW
, EH
, IM
, BL
, MF
, SX
]
The address country code
The party email
Possible values: <= 20 characters
The party phone number.
Possible values: <= 20 characters
The address state code
Indicate if the address is residential or commercial (enterprise)
Possible values: <= 20 characters
The address street number
Possible values: <= 50 characters
The address line with street number
(required for shipment purchase)
Possible values: <= 50 characters
The address line with suite number
Indicate if the address should be validated
The pickup date.
Date Format: YYYY-MM-DD
The reason of the pickup cancellation
Responses
- 200
- 400
- 424
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
messages
object[]
The list of note or warning messages
The error or warning message
The message code
details
object
any additional details
any additional details
The targeted carrier
The targeted carrier name (unique identifier)
confirmation
object
Operation performed
Specify whether the operation was successful
The operation carrier
The targeted carrier's name (unique identifier)
{
"messages": [
{
"message": "string",
"code": "string",
"details": {},
"carrier_name": "string",
"carrier_id": "string"
}
],
"confirmation": {
"operation": "string",
"success": true,
"carrier_name": "string",
"carrier_id": "string"
}
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
The error or warning message
The message code
details
object
any additional details
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
messages
object[]
The list of error messages
The error or warning message
The message code
details
object
any additional details
any additional details
The targeted carrier
The targeted carrier name (unique identifier)
{
"messages": [
{
"message": "string",
"code": "string",
"details": {},
"carrier_name": "string",
"carrier_id": "string"
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
The error or warning message
The message code
details
object
any additional details
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}