google_api_content v0.4.0 GoogleApi.Content.V2.Api.Orders View Source
API calls for all endpoints tagged Orders
.
Link to this section Summary
Functions
Marks an order as acknowledged
Sandbox only. Moves a test order from state "inProgress" to state "pendingShipment"
Cancels all line items in an order, making a full refund
Cancels a line item, making a full refund
Sandbox only. Cancels a test order for customer-initiated cancellation
Sandbox only. Creates a test order
Sandbox only. Creates a test return
Retrieves or modifies multiple orders in a single request
Retrieves an order from your Merchant Center account
Retrieves an order using merchant order id
Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox
Notifies that item return and refund was handled directly by merchant outside of Google payments processing (e.g. cash refund done in store)
Lists the orders in your Merchant Center account
Deprecated, please use returnRefundLineItem instead
Rejects return on an line item
Returns a line item
Returns and refunds a line item. Note that this method can only be called on fully shipped orders
Sets (overrides) merchant provided annotations on the line item
Marks line item(s) as shipped
Updates ship by and delivery by dates for a line item
Updates the merchant order ID for a given order
Updates a shipment's status, carrier, and/or tracking ID
Link to this section Functions
content_orders_acknowledge(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Marks an order as acknowledged.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersAcknowledgeRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersAcknowledgeResponse{}} on success {:error, info} on failure
content_orders_advancetestorder(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Sandbox only. Moves a test order from state "inProgress" to state "pendingShipment".
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the test order to modify.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersAdvanceTestOrderResponse{}} on success {:error, info} on failure
content_orders_cancel(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Cancels all line items in an order, making a full refund.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order to cancel.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersCancelRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersCancelResponse{}} on success {:error, info} on failure
content_orders_cancellineitem(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Cancels a line item, making a full refund.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersCancelLineItemRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersCancelLineItemResponse{}} on success {:error, info} on failure
content_orders_canceltestorderbycustomer(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Sandbox only. Cancels a test order for customer-initiated cancellation.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the test order to cancel.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersCancelTestOrderByCustomerRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersCancelTestOrderByCustomerResponse{}} on success {:error, info} on failure
content_orders_createtestorder(connection, merchant_id, optional_params \\ [], opts \\ []) View Source
Sandbox only. Creates a test order.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that should manage the order. This cannot be a multi-client account.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersCreateTestOrderRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersCreateTestOrderResponse{}} on success {:error, info} on failure
content_orders_createtestreturn(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Sandbox only. Creates a test return.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersCreateTestReturnRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersCreateTestReturnResponse{}} on success {:error, info} on failure
content_orders_custombatch(connection, optional_params \\ [], opts \\ []) View Source
Retrieves or modifies multiple orders in a single request.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersCustomBatchRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersCustomBatchResponse{}} on success {:error, info} on failure
content_orders_get(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Retrieves an order from your Merchant Center account.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
Returns
{:ok, %GoogleApi.Content.V2.Model.Order{}} on success {:error, info} on failure
content_orders_getbymerchantorderid(connection, merchant_id, merchant_order_id, optional_params \\ [], opts \\ []) View Source
Retrieves an order using merchant order id.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- merchant_order_id (String.t): The merchant order id to be looked for.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersGetByMerchantOrderIdResponse{}} on success {:error, info} on failure
content_orders_gettestordertemplate(connection, merchant_id, template_name, optional_params \\ [], opts \\ []) View Source
Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that should manage the order. This cannot be a multi-client account.
- template_name (String.t): The name of the template to retrieve.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :country (String.t): The country of the template to retrieve. Defaults to US.
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersGetTestOrderTemplateResponse{}} on success {:error, info} on failure
content_orders_instorerefundlineitem(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Notifies that item return and refund was handled directly by merchant outside of Google payments processing (e.g. cash refund done in store).
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersInStoreRefundLineItemRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersInStoreRefundLineItemResponse{}} on success {:error, info} on failure
content_orders_list(connection, merchant_id, optional_params \\ [], opts \\ []) View Source
Lists the orders in your Merchant Center account.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :acknowledged (boolean()): Obtains orders that match the acknowledgement status. When set to true, obtains orders that have been acknowledged. When false, obtains orders that have not been acknowledged. We recommend using this filter set to false, in conjunction with the acknowledge call, such that only un-acknowledged orders are returned.
- :maxResults (integer()): The maximum number of orders to return in the response, used for paging. The default value is 25 orders per page, and the maximum allowed value is 250 orders per page. Known issue: All List calls will return all Orders without limit regardless of the value of this field.
- :orderBy (String.t): The ordering of the returned list. The only supported value are placedDate desc and placedDate asc for now, which returns orders sorted by placement date. "placedDate desc" stands for listing orders by placement date, from oldest to most recent. "placedDate asc" stands for listing orders by placement date, from most recent to oldest. In future releases we'll support other sorting criteria.
- :pageToken (String.t): The token returned by the previous request.
- :placedDateEnd (String.t): Obtains orders placed before this date (exclusively), in ISO 8601 format.
- :placedDateStart (String.t): Obtains orders placed after this date (inclusively), in ISO 8601 format.
- :statuses ([String.t]): Obtains orders that match any of the specified statuses. Multiple values can be specified with comma separation. Additionally, please note that active is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped , partiallyDelivered, delivered, partiallyReturned, returned, and canceled.
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersListResponse{}} on success {:error, info} on failure
content_orders_refund(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Deprecated, please use returnRefundLineItem instead.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order to refund.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersRefundRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersRefundResponse{}} on success {:error, info} on failure
content_orders_rejectreturnlineitem(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Rejects return on an line item.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersRejectReturnLineItemRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersRejectReturnLineItemResponse{}} on success {:error, info} on failure
content_orders_returnlineitem(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Returns a line item.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersReturnLineItemRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersReturnLineItemResponse{}} on success {:error, info} on failure
content_orders_returnrefundlineitem(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Returns and refunds a line item. Note that this method can only be called on fully shipped orders.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersReturnRefundLineItemRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersReturnRefundLineItemResponse{}} on success {:error, info} on failure
content_orders_setlineitemmetadata(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Sets (overrides) merchant provided annotations on the line item.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersSetLineItemMetadataRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersSetLineItemMetadataResponse{}} on success {:error, info} on failure
content_orders_shiplineitems(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Marks line item(s) as shipped.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersShipLineItemsRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersShipLineItemsResponse{}} on success {:error, info} on failure
content_orders_updatelineitemshippingdetails(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Updates ship by and delivery by dates for a line item.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersUpdateLineItemShippingDetailsRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersUpdateLineItemShippingDetailsResponse{}} on success {:error, info} on failure
content_orders_updatemerchantorderid(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Updates the merchant order ID for a given order.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersUpdateMerchantOrderIdRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersUpdateMerchantOrderIdResponse{}} on success {:error, info} on failure
content_orders_updateshipment(connection, merchant_id, order_id, optional_params \\ [], opts \\ []) View Source
Updates a shipment's status, carrier, and/or tracking ID.
Parameters
- connection (GoogleApi.Content.V2.Connection): Connection to server
- merchant_id (String.t): The ID of the account that manages the order. This cannot be a multi-client account.
- order_id (String.t): The ID of the order.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :body (OrdersUpdateShipmentRequest):
Returns
{:ok, %GoogleApi.Content.V2.Model.OrdersUpdateShipmentResponse{}} on success {:error, info} on failure