Update the general details of a consignment
Path Parameters
- Type: stringFormat: uuidconsignment
Id required
Body·
application/json
- Type: string | nullFormat: dateactual
Dispatch Date Time full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- Type: string | nullFormat: dateactual
Receive Date Time full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- Type: stringFormat: datedate
Entered full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- Type: string | nullFormat: dateexpected
Arrival Date Time full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- Type: string | nullFormat: dateexpected
Delivery Date Time full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- Type: string | nullFormat: dateexpected
Dispatch Date Time full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- Type: string | nullexternal
Id - Type: string | nullpicking
Instructions - Type: string | nullpo
Number - Type: string | nullreceivers
Reference - Type: string | nullreference
Number - Type: string | nullsenders
Reference
Responses
- 200
OK
- 304
Not Modified
Request Example for put/v1/consignments/{consignmentId}/general
curl https://api.consignlyhq.com/v1/consignments/123e4567-e89b-12d3-a456-426614174000/general \
--request PUT \
--header 'Content-Type: application/json' \
--data '{
"referenceNumber": null,
"externalId": null,
"dateEntered": "date (YYYY-MM-DD)",
"expectedArrivalDateTime": "datetime (YYYY-MM-DDTHH:MM:SSZ)",
"expectedDispatchDateTime": "datetime (YYYY-MM-DDTHH:MM:SSZ)",
"expectedDeliveryDateTime": "datetime (YYYY-MM-DDTHH:MM:SSZ)",
"actualDispatchDateTime": "datetime (YYYY-MM-DDTHH:MM:SSZ)",
"actualReceiveDateTime": "datetime (YYYY-MM-DDTHH:MM:SSZ)",
"pickingInstructions": null,
"receiversReference": null,
"sendersReference": null,
"poNumber": null,
"soNumber": null
}'
No Body