Shipment | Cancel shipment

The Shipment detail end-point can be used to cancel any booked shipment. A cancelation should only be done if pickup has not truly occurred. Also, an LSP might charge a cancelation fee or still invoice the full quoted value of the shipment. The options of this end-point are intentionally limited.

Note This end-point only applies to Shippers

Request URI

PUT https://pluto.cargobase.com/api/1/shipments/S12345678
Content-Type: application/json
Authentication: Token 'your_token_here'

Body message

For reasons of consistency, the body message contains the organization object. Other familiar object categories cannot be updated and are not part of this PUT request.

Main object categories

Category parameterPurpose
organizationTo cancel the request

organization values

KeyValueMandatoryPurposeParent object
changed_bySTRINGOPTIONALThis can be the email id of another Cargobase account idorganization
shipment_statusSTRINGOPTIONALCan only be used to cancel a shipment, expecte value: 'canceled'organization
cancel_commentSTRINGOPTIONALCan be used to share additional feedback to the provider, use only in combination with request_statusorganization

Status codes

StatusDescriptionResolution
201Created"Success : true"
403Forbiddencheck Authentication token
Language
Credentials
http
Response
Click Try It! to start a request and see the response here!