Method: networks.shipments.path.update
Stay organized with collections
Save and categorize content based on your preferences.
Changes the path of a shipment: instead of using the service-computed one, the state will contain the one set by the user through this call.
HTTP request
POST https://middlemileoptimization.googleapis.com/v1/{path.shipment=networks/*/shipments/*}/path:update
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
path.shipment |
string
Required. Shipment whose path is being described.
|
Request body
The request body contains an instance of Path
.
Response body
If successful, the response body contains an instance of Path
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-14 UTC."],[[["Enables users to define a custom route for a shipment, overriding the service's calculated path."],["Requires an HTTP POST request to a specific endpoint, including the shipment identifier."],["Utilizes the Path object within the request and response bodies to specify and return the route information."]]],["This API call updates a shipment's path. Users can define a custom path for a specific shipment, overriding the service-computed route. The request is made via a POST request to a specified URL, including the shipment ID in the path. The request body contains the new `Path` data. Upon successful execution, the response body returns the updated `Path` object. The `shipment` parameter within the path is a required string.\n"]]