- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- OrdersShipLineItemsRequest
- OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
- Try it!
Marks line item(s) as shipped.
HTTP request
POST https://shoppingcontent.googleapis.com/content/v2.1/{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. Acceptable values are:
|
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, "lineItems": [ { object ( |
Fields | |
---|---|
operationId |
The ID of the operation. Unique across all operations for a given order. |
lineItems[] |
Line items to ship. |
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. |
OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
JSON representation |
---|
{ "shipmentId": string, "carrier": string, "trackingId": string } |
Fields | |
---|---|
shipmentId |
Required. The ID of the shipment. This is assigned by the merchant and is unique to each shipment. |
carrier |
The carrier handling the shipment. See |
trackingId |
The tracking ID for the shipment. |