Create a consignment POD
Path Parameters
- Type: stringFormat: uuidconsignment
Id required
Body·
application/json
- Type: objectattachment
File - Type: string | nulldescription
An optional short string explaining the proof-of-delivery.
- Type: stringFormat: dateevent
Utc When the delivery was completed.
- Type: string | nullexternal
Url A link to an external webpage detailing the completion of the delivery.
- Type: number | nullFormat: doublelatitude
The latitude of the delivery.
- Type: number | nullFormat: doublelongitude
The longitude of the delivery.
- Type: string | nullsignatory
Name The name of the individual who completed the delivery.
Responses
- application/json
Request Example for post/v1/consignments/{consignmentId}/pods
curl https://api.consignlyhq.com/v1/consignments/123e4567-e89b-12d3-a456-426614174000/pods \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"eventUtc": "datetime (YYYY-MM-DDTHH:MM:SSZ)",
"signatoryName": null,
"description": null,
"attachmentFile": {
"fileName": null,
"contentType": null,
"content": null,
"options": {
"printType": "enum (Label = 1, Document = 2)"
}
},
"externalUrl": null,
"latitude": null,
"longitude": null
}'
123e4567-e89b-12d3-a456-426614174000