- HTTP request
- Path parameters
- Request body
- Response body
- Authorization Scopes
- OrdersShipLineItemsRequest
- Try it!
Marks line item(s) as shipped.
HTTP request
POST https://shoppingcontent.googleapis.com/content/v2/{merchantId}/orders/{orderId}/shipLineItems
Path parameters
Parameters | |
---|---|
merchantId |
The ID of the account that manages the order. This cannot be a multi-client account. |
orderId |
The ID of the order. |
Request body
The request body contains an instance of OrdersShipLineItemsRequest
.
Response body
If successful, the response body contains data with the following structure:
JSON representation | |
---|---|
{ "executionStatus": string, "kind": string } |
Fields | |
---|---|
executionStatus |
The status of the execution.
|
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
OrdersShipLineItemsRequest
JSON representation | |
---|---|
{ "operationId": string, "shipmentId": string, "lineItems": [ { object ( |
Fields | |
---|---|
operationId |
The ID of the operation. Unique across all operations for a given order. |
shipmentId |
Deprecated. Please use shipmentInfo instead. The ID of the shipment. |
lineItems[] |
Line items to ship. |
carrier |
Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See |
trackingId |
Deprecated. Please use shipmentInfo instead. The tracking ID for the shipment. |
shipmentInfos[] |
Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs). |
shipmentGroupId |
ID of the shipment group. Required for orders that use the orderinvoices service. |