Delivery - additional documents
Add additional documents to the delivery. This can be a scan of the signed document.
All provided documents must be a PDF and must be placed on a remote webserver. Credentials to this location can be set in the CloudSuite client
URL
/proxy/v1/shipment/documents/
Method
POST
Fields
Provide one of the fields adding data to the shipment
Field | Type | Required | Description | Remarks |
---|---|---|---|---|
documentUrls | array | yes | list of documents |
|
documentUrls - documentUrl | String | yes | FULL URL to the remote document | If both documentUrl and documentId are empty, an error will be given |
documentUrls - documentId | String | yes | ID of the document. | This will be placed in the URL provided in the settings of the remote location in the CloudSuite client. |
documentUrls - name | String | yes | Name of the document | Display name |
packingId | String | yes |
| The packingId will be checked in the database, and if it does not exist, an error will be given |
Body
{
"documentUrls": [
{
"documentUrl": "http://xxx/document/2201007685",
"documentId": "",
"name": "Pakbon "
},
{
"documentUrl": "",
"documentId": "2201007685",
"name": "Pakbon "
}
],
"packingId": "PACKINGSLIP-75578"
}
© 2024 CloudSuite BV, All rights reserved