CPL API
Useful links
Useful links
  • Developer
  • Sandbox
Useful links
Useful links
  • Developer
  • Sandbox
Přepni do češtiny
  1. Shipment
  • Back to home
  • API Methods
  • AccessPoint
    • List of access points
  • AddressWhisper
    • Address Whisperer
  • Codelist
    • Codelist for the beneficiary's age verification service
    • Codelist product
    • Codelist externalNumbers
    • Codelist country + COD authorization
    • Codelist currency
    • Method for obtaining the services provided for shipments.
    • A method for obtaining minimum and maximum values ​​for services
    • Codelist shipment phase
    • Codelist status
    • Codelist of validation messages
    • Types of personal documents
    • Document type
  • Customer
    • Customer information - permitted currencies
    • Customer addresess
    • Number range creation
  • Data
    • Single label print
  • Info
    • /info
  • Order
    • Order tracking
  • OrderBatch
    • Create an order
    • Get order status
  • OrderEvent
    • Order cancel
  • Shipment
    • Shipment tracking
      GET
    • Save customs documents to shipment
      POST
  • ShipmentBatch
    • Shipment creation
    • Used to combine sets of shipments
    • Used to modify the output format of the label.
    • Getting import state
    • Pick up label
  • ShipmentEvent
    • Shipment cancel
    • Adding informations to shipment
  • Routing
    • Used to obtain routing information for a label
  • VersionInformation
    • News
Useful links
Useful links
  • Developer
  • Sandbox
Useful links
Useful links
  • Developer
  • Sandbox
Přepni do češtiny
  1. Shipment

Save customs documents to shipment

POST
/shipment/{shipmentNumber}/documents
Maintainer:Not configured

Meaning and Usage#

This method is used to save customs documents to a specific shipment. It allows attaching required documentation such as CIN data, invoices, and dispositions for customs clearance to foreign shipments. The uploaded documents are then associated with the shipment and available for the customs process.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Query Params

Header Params

Body Params multipart/form-data

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/shipment//documents?documentFileType' \
--header 'Accept-Language;' \
--header 'X-Correlation-ID;' \
--header 'X-LogLevel;' \
--header 'Authorization: Bearer <token>' \
--form 'files=""'

Responses

🟢200
Success
Headers

This response does not have a body.
🟠400
🟠401
🟠403
🟠404
🔴500
🔴503
Modified at 2026-02-07 07:33:40
Previous
Shipment tracking
Next
ShipmentBatch