Overview

Classes

  • Google_Service_ShoppingContent
  • Google_Service_ShoppingContent_Account
  • Google_Service_ShoppingContent_AccountAddress
  • Google_Service_ShoppingContent_AccountAdsLink
  • Google_Service_ShoppingContent_AccountBusinessInformation
  • Google_Service_ShoppingContent_AccountCustomerService
  • Google_Service_ShoppingContent_AccountGoogleMyBusinessLink
  • Google_Service_ShoppingContent_AccountIdentifier
  • Google_Service_ShoppingContent_Accounts_Resource
  • Google_Service_ShoppingContent_AccountsAuthInfoResponse
  • Google_Service_ShoppingContent_AccountsClaimWebsiteResponse
  • Google_Service_ShoppingContent_AccountsCustomBatchRequest
  • Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry
  • Google_Service_ShoppingContent_AccountsCustomBatchRequestEntryLinkRequest
  • Google_Service_ShoppingContent_AccountsCustomBatchResponse
  • Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry
  • Google_Service_ShoppingContent_AccountsLinkRequest
  • Google_Service_ShoppingContent_AccountsLinkResponse
  • Google_Service_ShoppingContent_AccountsListLinksResponse
  • Google_Service_ShoppingContent_AccountsListResponse
  • Google_Service_ShoppingContent_AccountStatus
  • Google_Service_ShoppingContent_AccountStatusAccountLevelIssue
  • Google_Service_ShoppingContent_Accountstatuses_Resource
  • Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest
  • Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry
  • Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse
  • Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry
  • Google_Service_ShoppingContent_AccountstatusesListResponse
  • Google_Service_ShoppingContent_AccountStatusItemLevelIssue
  • Google_Service_ShoppingContent_AccountStatusProducts
  • Google_Service_ShoppingContent_AccountStatusStatistics
  • Google_Service_ShoppingContent_AccountTax
  • Google_Service_ShoppingContent_Accounttax_Resource
  • Google_Service_ShoppingContent_AccounttaxCustomBatchRequest
  • Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry
  • Google_Service_ShoppingContent_AccounttaxCustomBatchResponse
  • Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry
  • Google_Service_ShoppingContent_AccounttaxListResponse
  • Google_Service_ShoppingContent_AccountTaxTaxRule
  • Google_Service_ShoppingContent_AccountUser
  • Google_Service_ShoppingContent_AccountYouTubeChannelLink
  • Google_Service_ShoppingContent_Amount
  • Google_Service_ShoppingContent_BusinessDayConfig
  • Google_Service_ShoppingContent_CarrierRate
  • Google_Service_ShoppingContent_CarriersCarrier
  • Google_Service_ShoppingContent_CustomAttribute
  • Google_Service_ShoppingContent_CustomerReturnReason
  • Google_Service_ShoppingContent_CutoffTime
  • Google_Service_ShoppingContent_Datafeed
  • Google_Service_ShoppingContent_DatafeedFetchSchedule
  • Google_Service_ShoppingContent_DatafeedFormat
  • Google_Service_ShoppingContent_Datafeeds_Resource
  • Google_Service_ShoppingContent_DatafeedsCustomBatchRequest
  • Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry
  • Google_Service_ShoppingContent_DatafeedsCustomBatchResponse
  • Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry
  • Google_Service_ShoppingContent_DatafeedsFetchNowResponse
  • Google_Service_ShoppingContent_DatafeedsListResponse
  • Google_Service_ShoppingContent_DatafeedStatus
  • Google_Service_ShoppingContent_DatafeedStatusError
  • Google_Service_ShoppingContent_Datafeedstatuses_Resource
  • Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest
  • Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry
  • Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse
  • Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry
  • Google_Service_ShoppingContent_DatafeedstatusesListResponse
  • Google_Service_ShoppingContent_DatafeedStatusExample
  • Google_Service_ShoppingContent_DatafeedTarget
  • Google_Service_ShoppingContent_DeliveryTime
  • Google_Service_ShoppingContent_Error
  • Google_Service_ShoppingContent_Errors
  • Google_Service_ShoppingContent_GmbAccounts
  • Google_Service_ShoppingContent_GmbAccountsGmbAccount
  • Google_Service_ShoppingContent_Headers
  • Google_Service_ShoppingContent_HolidayCutoff
  • Google_Service_ShoppingContent_HolidaysHoliday
  • Google_Service_ShoppingContent_Installment
  • Google_Service_ShoppingContent_InvoiceSummary
  • Google_Service_ShoppingContent_InvoiceSummaryAdditionalChargeSummary
  • Google_Service_ShoppingContent_LiaAboutPageSettings
  • Google_Service_ShoppingContent_LiaCountrySettings
  • Google_Service_ShoppingContent_LiaInventorySettings
  • Google_Service_ShoppingContent_LiaOnDisplayToOrderSettings
  • Google_Service_ShoppingContent_LiaPosDataProvider
  • Google_Service_ShoppingContent_LiaSettings
  • Google_Service_ShoppingContent_Liasettings_Resource
  • Google_Service_ShoppingContent_LiasettingsCustomBatchRequest
  • Google_Service_ShoppingContent_LiasettingsCustomBatchRequestEntry
  • Google_Service_ShoppingContent_LiasettingsCustomBatchResponse
  • Google_Service_ShoppingContent_LiasettingsCustomBatchResponseEntry
  • Google_Service_ShoppingContent_LiasettingsGetAccessibleGmbAccountsResponse
  • Google_Service_ShoppingContent_LiasettingsListPosDataProvidersResponse
  • Google_Service_ShoppingContent_LiasettingsListResponse
  • Google_Service_ShoppingContent_LiasettingsRequestGmbAccessResponse
  • Google_Service_ShoppingContent_LiasettingsRequestInventoryVerificationResponse
  • Google_Service_ShoppingContent_LiasettingsSetInventoryVerificationContactResponse
  • Google_Service_ShoppingContent_LiasettingsSetPosDataProviderResponse
  • Google_Service_ShoppingContent_LinkedAccount
  • Google_Service_ShoppingContent_LinkService
  • Google_Service_ShoppingContent_LocalInventory
  • Google_Service_ShoppingContent_Localinventory_Resource
  • Google_Service_ShoppingContent_LocalinventoryCustomBatchRequest
  • Google_Service_ShoppingContent_LocalinventoryCustomBatchRequestEntry
  • Google_Service_ShoppingContent_LocalinventoryCustomBatchResponse
  • Google_Service_ShoppingContent_LocalinventoryCustomBatchResponseEntry
  • Google_Service_ShoppingContent_LocationIdSet
  • Google_Service_ShoppingContent_LoyaltyPoints
  • Google_Service_ShoppingContent_MerchantOrderReturn
  • Google_Service_ShoppingContent_MerchantOrderReturnItem
  • Google_Service_ShoppingContent_Order
  • Google_Service_ShoppingContent_OrderAddress
  • Google_Service_ShoppingContent_OrderCancellation
  • Google_Service_ShoppingContent_OrderCustomer
  • Google_Service_ShoppingContent_OrderCustomerLoyaltyInfo
  • Google_Service_ShoppingContent_OrderCustomerMarketingRightsInfo
  • Google_Service_ShoppingContent_OrderDeliveryDetails
  • Google_Service_ShoppingContent_Orderinvoices_Resource
  • Google_Service_ShoppingContent_OrderinvoicesCreateChargeInvoiceRequest
  • Google_Service_ShoppingContent_OrderinvoicesCreateChargeInvoiceResponse
  • Google_Service_ShoppingContent_OrderinvoicesCreateRefundInvoiceRequest
  • Google_Service_ShoppingContent_OrderinvoicesCreateRefundInvoiceResponse
  • Google_Service_ShoppingContent_OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
  • Google_Service_ShoppingContent_OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
  • Google_Service_ShoppingContent_OrderLineItem
  • Google_Service_ShoppingContent_OrderLineItemAdjustment
  • Google_Service_ShoppingContent_OrderLineItemProduct
  • Google_Service_ShoppingContent_OrderLineItemProductFee
  • Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute
  • Google_Service_ShoppingContent_OrderLineItemReturnInfo
  • Google_Service_ShoppingContent_OrderLineItemShippingDetails
  • Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod
  • Google_Service_ShoppingContent_OrderMerchantProvidedAnnotation
  • Google_Service_ShoppingContent_OrderPickupDetails
  • Google_Service_ShoppingContent_OrderPickupDetailsCollector
  • Google_Service_ShoppingContent_OrderPromotion
  • Google_Service_ShoppingContent_OrderPromotionItem
  • Google_Service_ShoppingContent_OrderRefund
  • Google_Service_ShoppingContent_OrderReportDisbursement
  • Google_Service_ShoppingContent_Orderreports_Resource
  • Google_Service_ShoppingContent_OrderreportsListDisbursementsResponse
  • Google_Service_ShoppingContent_OrderreportsListTransactionsResponse
  • Google_Service_ShoppingContent_OrderReportTransaction
  • Google_Service_ShoppingContent_OrderReturn
  • Google_Service_ShoppingContent_Orderreturns_Resource
  • Google_Service_ShoppingContent_OrderreturnsListResponse
  • Google_Service_ShoppingContent_Orders_Resource
  • Google_Service_ShoppingContent_OrdersAcknowledgeRequest
  • Google_Service_ShoppingContent_OrdersAcknowledgeResponse
  • Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse
  • Google_Service_ShoppingContent_OrdersCancelLineItemRequest
  • Google_Service_ShoppingContent_OrdersCancelLineItemResponse
  • Google_Service_ShoppingContent_OrdersCancelRequest
  • Google_Service_ShoppingContent_OrdersCancelResponse
  • Google_Service_ShoppingContent_OrdersCancelTestOrderByCustomerRequest
  • Google_Service_ShoppingContent_OrdersCancelTestOrderByCustomerResponse
  • Google_Service_ShoppingContent_OrdersCreateTestOrderRequest
  • Google_Service_ShoppingContent_OrdersCreateTestOrderResponse
  • Google_Service_ShoppingContent_OrdersCreateTestReturnRequest
  • Google_Service_ShoppingContent_OrdersCreateTestReturnResponse
  • Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
  • Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
  • Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse
  • Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse
  • Google_Service_ShoppingContent_OrderShipment
  • Google_Service_ShoppingContent_OrderShipmentLineItemShipment
  • Google_Service_ShoppingContent_OrdersInStoreRefundLineItemRequest
  • Google_Service_ShoppingContent_OrdersInStoreRefundLineItemResponse
  • Google_Service_ShoppingContent_OrdersListResponse
  • Google_Service_ShoppingContent_OrdersRejectReturnLineItemRequest
  • Google_Service_ShoppingContent_OrdersRejectReturnLineItemResponse
  • Google_Service_ShoppingContent_OrdersReturnRefundLineItemRequest
  • Google_Service_ShoppingContent_OrdersReturnRefundLineItemResponse
  • Google_Service_ShoppingContent_OrdersSetLineItemMetadataRequest
  • Google_Service_ShoppingContent_OrdersSetLineItemMetadataResponse
  • Google_Service_ShoppingContent_OrdersShipLineItemsRequest
  • Google_Service_ShoppingContent_OrdersShipLineItemsResponse
  • Google_Service_ShoppingContent_OrdersUpdateLineItemShippingDetailsRequest
  • Google_Service_ShoppingContent_OrdersUpdateLineItemShippingDetailsResponse
  • Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest
  • Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse
  • Google_Service_ShoppingContent_OrdersUpdateShipmentRequest
  • Google_Service_ShoppingContent_OrdersUpdateShipmentResponse
  • Google_Service_ShoppingContent_PickupCarrierService
  • Google_Service_ShoppingContent_PickupServicesPickupService
  • Google_Service_ShoppingContent_Pos_Resource
  • Google_Service_ShoppingContent_PosCustomBatchRequest
  • Google_Service_ShoppingContent_PosCustomBatchRequestEntry
  • Google_Service_ShoppingContent_PosCustomBatchResponse
  • Google_Service_ShoppingContent_PosCustomBatchResponseEntry
  • Google_Service_ShoppingContent_PosDataProviders
  • Google_Service_ShoppingContent_PosDataProvidersPosDataProvider
  • Google_Service_ShoppingContent_PosInventory
  • Google_Service_ShoppingContent_PosInventoryRequest
  • Google_Service_ShoppingContent_PosInventoryResponse
  • Google_Service_ShoppingContent_PosListResponse
  • Google_Service_ShoppingContent_PosSale
  • Google_Service_ShoppingContent_PosSaleRequest
  • Google_Service_ShoppingContent_PosSaleResponse
  • Google_Service_ShoppingContent_PosStore
  • Google_Service_ShoppingContent_PostalCodeGroup
  • Google_Service_ShoppingContent_PostalCodeRange
  • Google_Service_ShoppingContent_Price
  • Google_Service_ShoppingContent_Product
  • Google_Service_ShoppingContent_ProductAmount
  • Google_Service_ShoppingContent_Products_Resource
  • Google_Service_ShoppingContent_ProductsCustomBatchRequest
  • Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry
  • Google_Service_ShoppingContent_ProductsCustomBatchResponse
  • Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry
  • Google_Service_ShoppingContent_ProductShipping
  • Google_Service_ShoppingContent_ProductShippingDimension
  • Google_Service_ShoppingContent_ProductShippingWeight
  • Google_Service_ShoppingContent_ProductsListResponse
  • Google_Service_ShoppingContent_ProductStatus
  • Google_Service_ShoppingContent_ProductStatusDestinationStatus
  • Google_Service_ShoppingContent_Productstatuses_Resource
  • Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest
  • Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry
  • Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse
  • Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry
  • Google_Service_ShoppingContent_ProductstatusesListResponse
  • Google_Service_ShoppingContent_ProductStatusItemLevelIssue
  • Google_Service_ShoppingContent_ProductTax
  • Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure
  • Google_Service_ShoppingContent_ProductUnitPricingMeasure
  • Google_Service_ShoppingContent_PubsubNotificationSettings
  • Google_Service_ShoppingContent_Pubsubnotificationsettings_Resource
  • Google_Service_ShoppingContent_RateGroup
  • Google_Service_ShoppingContent_RefundReason
  • Google_Service_ShoppingContent_RegionalInventory
  • Google_Service_ShoppingContent_Regionalinventory_Resource
  • Google_Service_ShoppingContent_RegionalinventoryCustomBatchRequest
  • Google_Service_ShoppingContent_RegionalinventoryCustomBatchRequestEntry
  • Google_Service_ShoppingContent_RegionalinventoryCustomBatchResponse
  • Google_Service_ShoppingContent_RegionalinventoryCustomBatchResponseEntry
  • Google_Service_ShoppingContent_ReturnAddress
  • Google_Service_ShoppingContent_Returnaddress_Resource
  • Google_Service_ShoppingContent_ReturnAddressAddress
  • Google_Service_ShoppingContent_ReturnaddressCustomBatchRequest
  • Google_Service_ShoppingContent_ReturnaddressCustomBatchRequestEntry
  • Google_Service_ShoppingContent_ReturnaddressCustomBatchResponse
  • Google_Service_ShoppingContent_ReturnaddressCustomBatchResponseEntry
  • Google_Service_ShoppingContent_ReturnaddressListResponse
  • Google_Service_ShoppingContent_ReturnPolicy
  • Google_Service_ShoppingContent_Returnpolicy_Resource
  • Google_Service_ShoppingContent_ReturnpolicyCustomBatchRequest
  • Google_Service_ShoppingContent_ReturnpolicyCustomBatchRequestEntry
  • Google_Service_ShoppingContent_ReturnpolicyCustomBatchResponse
  • Google_Service_ShoppingContent_ReturnpolicyCustomBatchResponseEntry
  • Google_Service_ShoppingContent_ReturnpolicyListResponse
  • Google_Service_ShoppingContent_ReturnPolicyPolicy
  • Google_Service_ShoppingContent_ReturnPolicySeasonalOverride
  • Google_Service_ShoppingContent_ReturnShipment
  • Google_Service_ShoppingContent_Row
  • Google_Service_ShoppingContent_Service
  • Google_Service_ShoppingContent_ShipmentInvoice
  • Google_Service_ShoppingContent_ShipmentInvoiceLineItemInvoice
  • Google_Service_ShoppingContent_ShipmentTrackingInfo
  • Google_Service_ShoppingContent_ShippingSettings
  • Google_Service_ShoppingContent_Shippingsettings_Resource
  • Google_Service_ShoppingContent_ShippingsettingsCustomBatchRequest
  • Google_Service_ShoppingContent_ShippingsettingsCustomBatchRequestEntry
  • Google_Service_ShoppingContent_ShippingsettingsCustomBatchResponse
  • Google_Service_ShoppingContent_ShippingsettingsCustomBatchResponseEntry
  • Google_Service_ShoppingContent_ShippingsettingsGetSupportedCarriersResponse
  • Google_Service_ShoppingContent_ShippingsettingsGetSupportedHolidaysResponse
  • Google_Service_ShoppingContent_ShippingsettingsGetSupportedPickupServicesResponse
  • Google_Service_ShoppingContent_ShippingsettingsListResponse
  • Google_Service_ShoppingContent_Table
  • Google_Service_ShoppingContent_TestOrder
  • Google_Service_ShoppingContent_TestOrderLineItem
  • Google_Service_ShoppingContent_TestOrderLineItemProduct
  • Google_Service_ShoppingContent_TransitTable
  • Google_Service_ShoppingContent_TransitTableTransitTimeRow
  • Google_Service_ShoppingContent_TransitTableTransitTimeRowTransitTimeValue
  • Google_Service_ShoppingContent_UnitInvoice
  • Google_Service_ShoppingContent_UnitInvoiceAdditionalCharge
  • Google_Service_ShoppingContent_UnitInvoiceTaxLine
  • Google_Service_ShoppingContent_Value
  • Google_Service_ShoppingContent_Weight
  • Overview
  • Class
  • Tree

Class Google_Service_ShoppingContent_Orders_Resource

The "orders" collection of methods. Typical usage is:

 $contentService = new Google_Service_ShoppingContent(...);
 $orders = $contentService->orders;
Google_Service_Resource
Extended by Google_Service_ShoppingContent_Orders_Resource
Located at ShoppingContent.php
Methods summary
public Google_Service_ShoppingContent_OrdersAcknowledgeResponse
# acknowledge( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersAcknowledgeRequest $postBody, array $optParams = array() )

Marks an order as acknowledged. (orders.acknowledge)

Marks an order as acknowledged. (orders.acknowledge)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersAcknowledgeResponse
Google_Service_ShoppingContent_OrdersAcknowledgeResponse
public Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse
# advancetestorder( string $merchantId, string $orderId, array $optParams = array() )

Sandbox only. Moves a test order from state "inProgress" to state "pendingShipment". (orders.advancetestorder)

Sandbox only. Moves a test order from state "inProgress" to state "pendingShipment". (orders.advancetestorder)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the test order to modify.
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse
Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse
public Google_Service_ShoppingContent_OrdersCancelResponse
# cancel( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersCancelRequest $postBody, array $optParams = array() )

Cancels all line items in an order, making a full refund. (orders.cancel)

Cancels all line items in an order, making a full refund. (orders.cancel)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order to cancel.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersCancelResponse
Google_Service_ShoppingContent_OrdersCancelResponse
public Google_Service_ShoppingContent_OrdersCancelLineItemResponse
# cancellineitem( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersCancelLineItemRequest $postBody, array $optParams = array() )

Cancels a line item, making a full refund. (orders.cancellineitem)

Cancels a line item, making a full refund. (orders.cancellineitem)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersCancelLineItemResponse
Google_Service_ShoppingContent_OrdersCancelLineItemResponse
public Google_Service_ShoppingContent_OrdersCancelTestOrderByCustomerResponse
# canceltestorderbycustomer( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersCancelTestOrderByCustomerRequest $postBody, array $optParams = array() )

Sandbox only. Cancels a test order for customer-initiated cancellation. (orders.canceltestorderbycustomer)

Sandbox only. Cancels a test order for customer-initiated cancellation. (orders.canceltestorderbycustomer)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the test order to cancel.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersCancelTestOrderByCustomerResponse
Google_Service_ShoppingContent_OrdersCancelTestOrderByCustomerResponse
public Google_Service_ShoppingContent_OrdersCreateTestOrderResponse
# createtestorder( string $merchantId, Google_Service_ShoppingContent_OrdersCreateTestOrderRequest $postBody, array $optParams = array() )

Sandbox only. Creates a test order. (orders.createtestorder)

Sandbox only. Creates a test order. (orders.createtestorder)

Parameters

$merchantId
The ID of the account that should manage the order. This cannot be a multi-client account.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersCreateTestOrderResponse
Google_Service_ShoppingContent_OrdersCreateTestOrderResponse
public Google_Service_ShoppingContent_OrdersCreateTestReturnResponse
# createtestreturn( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersCreateTestReturnRequest $postBody, array $optParams = array() )

Sandbox only. Creates a test return. (orders.createtestreturn)

Sandbox only. Creates a test return. (orders.createtestreturn)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersCreateTestReturnResponse
Google_Service_ShoppingContent_OrdersCreateTestReturnResponse
public Google_Service_ShoppingContent_Order
# get( string $merchantId, string $orderId, array $optParams = array() )

Retrieves an order from your Merchant Center account. (orders.get)

Retrieves an order from your Merchant Center account. (orders.get)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_Order
Google_Service_ShoppingContent_Order
public Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse
# getbymerchantorderid( string $merchantId, string $merchantOrderId, array $optParams = array() )

Retrieves an order using merchant order ID. (orders.getbymerchantorderid)

Retrieves an order using merchant order ID. (orders.getbymerchantorderid)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$merchantOrderId
The merchant order ID to be looked for.
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse
Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse
public Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse
# gettestordertemplate( string $merchantId, string $templateName, array $optParams = array() )

Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. (orders.gettestordertemplate)

Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. (orders.gettestordertemplate)

Parameters

$merchantId
The ID of the account that should manage the order. This cannot be a multi-client account.
$templateName
The name of the template to retrieve.
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse
Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse

Opt_param

string country The country of the template to retrieve. Defaults to US.
public Google_Service_ShoppingContent_OrdersInStoreRefundLineItemResponse
# instorerefundlineitem( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersInStoreRefundLineItemRequest $postBody, array $optParams = array() )

Deprecated. Notifies that item return and refund was handled directly by merchant outside of Google payments processing (e.g. cash refund done in store). Note: We recommend calling the returnrefundlineitem method to refund in-store returns. We will issue the refund directly to the customer. This helps to prevent possible differences arising between merchant and Google transaction records. We also recommend having the point of sale system communicate with Google to ensure that customers do not receive a double refund by first refunding via Google then via an in-store return. (orders.instorerefundlineitem)

Deprecated. Notifies that item return and refund was handled directly by merchant outside of Google payments processing (e.g. cash refund done in store). Note: We recommend calling the returnrefundlineitem method to refund in-store returns. We will issue the refund directly to the customer. This helps to prevent possible differences arising between merchant and Google transaction records. We also recommend having the point of sale system communicate with Google to ensure that customers do not receive a double refund by first refunding via Google then via an in-store return. (orders.instorerefundlineitem)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersInStoreRefundLineItemResponse
Google_Service_ShoppingContent_OrdersInStoreRefundLineItemResponse
public Google_Service_ShoppingContent_OrdersListResponse
# listOrders( string $merchantId, array $optParams = array() )

Lists the orders in your Merchant Center account. (orders.listOrders)

Lists the orders in your Merchant Center account. (orders.listOrders)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersListResponse
Google_Service_ShoppingContent_OrdersListResponse

Opt_param

bool acknowledged 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.
string maxResults 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.
string orderBy Order results by placement date in descending or ascending order. Acceptable values are: - placedDateAsc - placedDateDesc
string pageToken The token returned by the previous request.
string placedDateEnd Obtains orders placed before this date (exclusively), in ISO 8601 format.
string placedDateStart Obtains orders placed after this date (inclusively), in ISO 8601 format.
string statuses Obtains orders that match any of the specified statuses. Please note that active is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and canceled.
public Google_Service_ShoppingContent_OrdersRejectReturnLineItemResponse
# rejectreturnlineitem( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersRejectReturnLineItemRequest $postBody, array $optParams = array() )

Rejects return on an line item. (orders.rejectreturnlineitem)

Rejects return on an line item. (orders.rejectreturnlineitem)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersRejectReturnLineItemResponse
Google_Service_ShoppingContent_OrdersRejectReturnLineItemResponse
public Google_Service_ShoppingContent_OrdersReturnRefundLineItemResponse
# returnrefundlineitem( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersReturnRefundLineItemRequest $postBody, array $optParams = array() )

Returns and refunds a line item. Note that this method can only be called on fully shipped orders. (orders.returnrefundlineitem)

Returns and refunds a line item. Note that this method can only be called on fully shipped orders. (orders.returnrefundlineitem)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersReturnRefundLineItemResponse
Google_Service_ShoppingContent_OrdersReturnRefundLineItemResponse
public Google_Service_ShoppingContent_OrdersSetLineItemMetadataResponse
# setlineitemmetadata( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersSetLineItemMetadataRequest $postBody, array $optParams = array() )

Sets (or overrides if it already exists) merchant provided annotations in the form of key-value pairs. A common use case would be to supply us with additional structured information about a line item that cannot be provided via other methods. Submitted key-value pairs can be retrieved as part of the orders resource. (orders.setlineitemmetadata)

Sets (or overrides if it already exists) merchant provided annotations in the form of key-value pairs. A common use case would be to supply us with additional structured information about a line item that cannot be provided via other methods. Submitted key-value pairs can be retrieved as part of the orders resource. (orders.setlineitemmetadata)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersSetLineItemMetadataResponse
Google_Service_ShoppingContent_OrdersSetLineItemMetadataResponse
public Google_Service_ShoppingContent_OrdersShipLineItemsResponse
# shiplineitems( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersShipLineItemsRequest $postBody, array $optParams = array() )

Marks line item(s) as shipped. (orders.shiplineitems)

Marks line item(s) as shipped. (orders.shiplineitems)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersShipLineItemsResponse
Google_Service_ShoppingContent_OrdersShipLineItemsResponse
public Google_Service_ShoppingContent_OrdersUpdateLineItemShippingDetailsResponse
# updatelineitemshippingdetails( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersUpdateLineItemShippingDetailsRequest $postBody, array $optParams = array() )

Updates ship by and delivery by dates for a line item. (orders.updatelineitemshippingdetails)

Updates ship by and delivery by dates for a line item. (orders.updatelineitemshippingdetails)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersUpdateLineItemShippingDetailsResponse
Google_Service_ShoppingContent_OrdersUpdateLineItemShippingDetailsResponse
public Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse
# updatemerchantorderid( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest $postBody, array $optParams = array() )

Updates the merchant order ID for a given order. (orders.updatemerchantorderid)

Updates the merchant order ID for a given order. (orders.updatemerchantorderid)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse
Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse
public Google_Service_ShoppingContent_OrdersUpdateShipmentResponse
# updateshipment( string $merchantId, string $orderId, Google_Service_ShoppingContent_OrdersUpdateShipmentRequest $postBody, array $optParams = array() )

Updates a shipment's status, carrier, and/or tracking ID. (orders.updateshipment)

Updates a shipment's status, carrier, and/or tracking ID. (orders.updateshipment)

Parameters

$merchantId
The ID of the account that manages the order. This cannot be a multi-client account.
$orderId
The ID of the order.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_ShoppingContent_OrdersUpdateShipmentResponse
Google_Service_ShoppingContent_OrdersUpdateShipmentResponse
© 2020 Google Inc.
Content API for Shopping API documentation generated by ApiGen 2.8.0