mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Upgrade to latest API versions + code regen
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/5vl5aa2CUylrEFA9Igu87wDe8Ug\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/sn3kI5v3BSYBkgZLL4qfVbTsTJQ\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "content:v2sandbox",
|
||||
"name": "content",
|
||||
"canonicalName": "Shopping Content",
|
||||
"version": "v2sandbox",
|
||||
"revision": "20170926",
|
||||
"revision": "20171207",
|
||||
"title": "Content API for Shopping",
|
||||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -325,6 +325,13 @@
|
||||
"id": "OrderLineItem",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"type": "array",
|
||||
"description": "Annotations that are attached to the line item.",
|
||||
"items": {
|
||||
"$ref": "OrderMerchantProvidedAnnotation"
|
||||
}
|
||||
},
|
||||
"cancellations": {
|
||||
"type": "array",
|
||||
"description": "Cancellations of the line item.",
|
||||
@@ -584,6 +591,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrderMerchantProvidedAnnotation": {
|
||||
"id": "OrderMerchantProvidedAnnotation",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string",
|
||||
"description": "Key for additional merchant provided (as key-value pairs) annotation about the line item."
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Value for additional merchant provided (as key-value pairs) annotation about the line item."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrderPaymentMethod": {
|
||||
"id": "OrderPaymentMethod",
|
||||
"type": "object",
|
||||
@@ -740,7 +761,7 @@
|
||||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment.\n\nAcceptable values are: \n- \"gsx\" \n- \"ups\" \n- \"united parcel service\" \n- \"usps\" \n- \"united states postal service\" \n- \"fedex\" \n- \"dhl\" \n- \"ecourier\" \n- \"cxt\" \n- \"google\" \n- \"on trac\" \n- \"ontrac\" \n- \"on-trac\" \n- \"on_trac\" \n- \"delvic\" \n- \"dynamex\" \n- \"lasership\" \n- \"smartpost\" \n- \"fedex smartpost\" \n- \"mpx\" \n- \"uds\" \n- \"united delivery service\""
|
||||
"description": "The carrier handling the shipment.\n\nAcceptable values are: \n- \"gsx\" \n- \"ups\" \n- \"usps\" \n- \"fedex\" \n- \"dhl\" \n- \"ecourier\" \n- \"cxt\" \n- \"google\" \n- \"ontrac\" \n- \"emsy\" \n- \"ont\" \n- \"deliv\" \n- \"dynamex\" \n- \"lasership\" \n- \"mpx\" \n- \"uds\""
|
||||
},
|
||||
"creationDate": {
|
||||
"type": "string",
|
||||
@@ -777,7 +798,11 @@
|
||||
"properties": {
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The id of the line item that is shipped."
|
||||
"description": "The id of the line item that is shipped. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to ship. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
@@ -830,14 +855,26 @@
|
||||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to cancellation amount in amountPretax."
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to cancel."
|
||||
"description": "The ID of the line item to cancel. Either lineItemId or productId is required."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to cancel. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
"description": "The quantity to cancel.",
|
||||
@@ -989,10 +1026,18 @@
|
||||
"$ref": "OrdersCustomBatchRequestEntryReturnLineItem",
|
||||
"description": "Required for returnLineItem method."
|
||||
},
|
||||
"setLineItemMetadata": {
|
||||
"$ref": "OrdersCustomBatchRequestEntrySetLineItemMetadata",
|
||||
"description": "Required for setLineItemMetadata method."
|
||||
},
|
||||
"shipLineItems": {
|
||||
"$ref": "OrdersCustomBatchRequestEntryShipLineItems",
|
||||
"description": "Required for shipLineItems method."
|
||||
},
|
||||
"updateLineItemShippingDetails": {
|
||||
"$ref": "OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails",
|
||||
"description": "Required for updateLineItemShippingDate method."
|
||||
},
|
||||
"updateShipment": {
|
||||
"$ref": "OrdersCustomBatchRequestEntryUpdateShipment",
|
||||
"description": "Required for updateShipment method."
|
||||
@@ -1021,9 +1066,21 @@
|
||||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to cancellation amount in amountPretax."
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to cancel."
|
||||
"description": "The ID of the line item to cancel. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to cancel. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
@@ -1048,6 +1105,14 @@
|
||||
"$ref": "Price",
|
||||
"description": "The amount that is refunded."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "The amount that is refunded. Either amount or amountPretax and amountTax should be filled."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to refund amount in amountPretax."
|
||||
},
|
||||
"reason": {
|
||||
"type": "string",
|
||||
"description": "The reason for the refund."
|
||||
@@ -1064,7 +1129,11 @@
|
||||
"properties": {
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to return."
|
||||
"description": "The ID of the line item to return. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
@@ -1081,6 +1150,26 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersCustomBatchRequestEntrySetLineItemMetadata": {
|
||||
"id": "OrdersCustomBatchRequestEntrySetLineItemMetadata",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "OrderMerchantProvidedAnnotation"
|
||||
}
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to set metadata. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersCustomBatchRequestEntryShipLineItems": {
|
||||
"id": "OrdersCustomBatchRequestEntryShipLineItems",
|
||||
"type": "object",
|
||||
@@ -1136,6 +1225,28 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails": {
|
||||
"id": "OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"deliverByDate": {
|
||||
"type": "string",
|
||||
"description": "Updated delivery by date, in ISO 8601 format. If not specified only ship by date is updated."
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to set metadata. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"shipByDate": {
|
||||
"type": "string",
|
||||
"description": "Updated ship by date, in ISO 8601 format. If not specified only deliver by date is updated."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersCustomBatchRequestEntryUpdateShipment": {
|
||||
"id": "OrdersCustomBatchRequestEntryUpdateShipment",
|
||||
"type": "object",
|
||||
@@ -1263,6 +1374,14 @@
|
||||
"$ref": "Price",
|
||||
"description": "The amount that is refunded."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "The amount that is refunded. Either amount or amountPretax and amountTax should be filled."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to refund amount in amountPretax."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
@@ -1298,12 +1417,16 @@
|
||||
"properties": {
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to return."
|
||||
"description": "The ID of the line item to return. Either lineItemId or productId is required."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
"description": "The quantity to return.",
|
||||
@@ -1334,6 +1457,45 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersSetLineItemMetadataRequest": {
|
||||
"id": "OrdersSetLineItemMetadataRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "OrderMerchantProvidedAnnotation"
|
||||
}
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to set metadata. Either lineItemId or productId is required."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersSetLineItemMetadataResponse": {
|
||||
"id": "OrdersSetLineItemMetadataResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"executionStatus": {
|
||||
"type": "string",
|
||||
"description": "The status of the execution."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersSetLineItemMetadataResponse\".",
|
||||
"default": "content#ordersSetLineItemMetadataResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersShipLineItemsRequest": {
|
||||
"id": "OrdersShipLineItemsRequest",
|
||||
"type": "object",
|
||||
@@ -1385,6 +1547,47 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersUpdateLineItemShippingDetailsRequest": {
|
||||
"id": "OrdersUpdateLineItemShippingDetailsRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"deliverByDate": {
|
||||
"type": "string",
|
||||
"description": "Updated delivery by date, in ISO 8601 format. If not specified only ship by date is updated."
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to set metadata. Either lineItemId or productId is required."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"shipByDate": {
|
||||
"type": "string",
|
||||
"description": "Updated ship by date, in ISO 8601 format. If not specified only deliver by date is updated."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersUpdateLineItemShippingDetailsResponse": {
|
||||
"id": "OrdersUpdateLineItemShippingDetailsResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"executionStatus": {
|
||||
"type": "string",
|
||||
"description": "The status of the execution."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersUpdateLineItemShippingDetailsResponse\".",
|
||||
"default": "content#ordersUpdateLineItemShippingDetailsResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersUpdateMerchantOrderIdRequest": {
|
||||
"id": "OrdersUpdateMerchantOrderIdRequest",
|
||||
"type": "object",
|
||||
@@ -1499,6 +1702,10 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"notificationMode": {
|
||||
"type": "string",
|
||||
"description": "Determines if test order must be pulled by merchant or pushed to merchant via push integration."
|
||||
},
|
||||
"paymentMethod": {
|
||||
"$ref": "TestOrderPaymentMethod",
|
||||
"description": "The details of the payment method."
|
||||
@@ -1760,11 +1967,11 @@
|
||||
"id": "content.orders.acknowledge",
|
||||
"path": "{merchantId}/orders/{orderId}/acknowledge",
|
||||
"httpMethod": "POST",
|
||||
"description": "Marks an order as acknowledged. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Marks an order as acknowledged.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1794,11 +2001,11 @@
|
||||
"id": "content.orders.advancetestorder",
|
||||
"path": "{merchantId}/testorders/{orderId}/advance",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\". This method can only be called for non-multi-client accounts.",
|
||||
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\".",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1825,11 +2032,11 @@
|
||||
"id": "content.orders.cancel",
|
||||
"path": "{merchantId}/orders/{orderId}/cancel",
|
||||
"httpMethod": "POST",
|
||||
"description": "Cancels all line items in an order, making a full refund. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Cancels all line items in an order, making a full refund.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1859,11 +2066,11 @@
|
||||
"id": "content.orders.cancellineitem",
|
||||
"path": "{merchantId}/orders/{orderId}/cancelLineItem",
|
||||
"httpMethod": "POST",
|
||||
"description": "Cancels a line item, making a full refund. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Cancels a line item, making a full refund.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1893,11 +2100,11 @@
|
||||
"id": "content.orders.createtestorder",
|
||||
"path": "{merchantId}/testorders",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sandbox only. Creates a test order. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Sandbox only. Creates a test order.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that should manage the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1920,7 +2127,7 @@
|
||||
"id": "content.orders.custombatch",
|
||||
"path": "orders/batch",
|
||||
"httpMethod": "POST",
|
||||
"description": "Retrieves or modifies multiple orders in a single request. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Retrieves or modifies multiple orders in a single request.",
|
||||
"request": {
|
||||
"$ref": "OrdersCustomBatchRequest"
|
||||
},
|
||||
@@ -1935,11 +2142,11 @@
|
||||
"id": "content.orders.get",
|
||||
"path": "{merchantId}/orders/{orderId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves an order from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Retrieves an order from your Merchant Center account.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1966,11 +2173,11 @@
|
||||
"id": "content.orders.getbymerchantorderid",
|
||||
"path": "{merchantId}/ordersbymerchantid/{merchantOrderId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Retrieves an order using merchant order id.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -1997,11 +2204,11 @@
|
||||
"id": "content.orders.gettestordertemplate",
|
||||
"path": "{merchantId}/testordertemplates/{templateName}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that should manage the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2040,7 +2247,7 @@
|
||||
"id": "content.orders.list",
|
||||
"path": "{merchantId}/orders",
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists the orders in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Lists the orders in your Merchant Center account.",
|
||||
"parameters": {
|
||||
"acknowledged": {
|
||||
"type": "boolean",
|
||||
@@ -2055,7 +2262,7 @@
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2135,11 +2342,11 @@
|
||||
"id": "content.orders.refund",
|
||||
"path": "{merchantId}/orders/{orderId}/refund",
|
||||
"httpMethod": "POST",
|
||||
"description": "Refund a portion of the order, up to the full amount paid. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Refund a portion of the order, up to the full amount paid.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2169,11 +2376,11 @@
|
||||
"id": "content.orders.returnlineitem",
|
||||
"path": "{merchantId}/orders/{orderId}/returnLineItem",
|
||||
"httpMethod": "POST",
|
||||
"description": "Returns a line item. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Returns a line item.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2199,15 +2406,49 @@
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"setlineitemmetadata": {
|
||||
"id": "content.orders.setlineitemmetadata",
|
||||
"path": "{merchantId}/orders/{orderId}/setLineItemMetadata",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sets (overrides) merchant provided annotations on the line item.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"orderId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the order.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"orderId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "OrdersSetLineItemMetadataRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "OrdersSetLineItemMetadataResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"shiplineitems": {
|
||||
"id": "content.orders.shiplineitems",
|
||||
"path": "{merchantId}/orders/{orderId}/shipLineItems",
|
||||
"httpMethod": "POST",
|
||||
"description": "Marks line item(s) as shipped. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Marks line item(s) as shipped.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2233,15 +2474,49 @@
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"updatelineitemshippingdetails": {
|
||||
"id": "content.orders.updatelineitemshippingdetails",
|
||||
"path": "{merchantId}/orders/{orderId}/updateLineItemShippingDetails",
|
||||
"httpMethod": "POST",
|
||||
"description": "Updates ship by and delivery by dates for a line item.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"orderId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the order.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"orderId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "OrdersUpdateLineItemShippingDetailsRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "OrdersUpdateLineItemShippingDetailsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"updatemerchantorderid": {
|
||||
"id": "content.orders.updatemerchantorderid",
|
||||
"path": "{merchantId}/orders/{orderId}/updateMerchantOrderId",
|
||||
"httpMethod": "POST",
|
||||
"description": "Updates the merchant order ID for a given order. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Updates the merchant order ID for a given order.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
@@ -2271,11 +2546,11 @@
|
||||
"id": "content.orders.updateshipment",
|
||||
"path": "{merchantId}/orders/{orderId}/updateShipment",
|
||||
"httpMethod": "POST",
|
||||
"description": "Updates a shipment's status, carrier, and/or tracking ID. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Updates a shipment's status, carrier, and/or tracking ID.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
||||
Reference in New Issue
Block a user