Update the status of a consignment
Path Parameters
- Type: stringFormat: uuidconsignment
Id required
Body·
application/json
- Type: string | nullFormat: dateclosed
Transaction Date full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- Type: string | nullFormat: datein
Transit Dispatch Date Time full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- Type: integerenumstatus
Integer numbers.
values- Complete = 0
- Pending = 1
- Ready
To Pick = 2 - Ready
To Dispatch = 3 - Ready
To Receive = 4
Responses
- 200
OK
Request Example for put/v1/consignments/{consignmentId}/status
curl https://api.consignlyhq.com/v1/consignments/123e4567-e89b-12d3-a456-426614174000/status \
--request PUT \
--header 'Content-Type: application/json' \
--data '{
"status": "enum (Complete = 0, Pending = 1, ReadyToPick = 2, ReadyToDispatch = 3, ReadyToReceive = 4, InProgress = 5, Closed = 6, InTransit = 7, Draft = 8, Void = -2, Open = -1)",
"inTransitDispatchDateTime": "datetime (YYYY-MM-DDTHH:MM:SSZ)",
"closedTransactionDate": "datetime (YYYY-MM-DDTHH:MM:SSZ)"
}'
No Body