class Orderreturns extends Resource (View source)

The "orderreturns" collection of methods.

Typical usage is:

 $contentService = new Google\Service\ShoppingContent(...);
 $orderreturns = $contentService->orderreturns;

Methods

acknowledge(string $merchantId, string $returnId, OrderreturnsAcknowledgeRequest $postBody, array $optParams = [])

Acks an order return in your Merchant Center account.

createorderreturn(string $merchantId, OrderreturnsCreateOrderReturnRequest $postBody, array $optParams = [])

Create return in your Merchant Center account.

get(string $merchantId, string $returnId, array $optParams = [])

Retrieves an order return from your Merchant Center account.

listOrderreturns(string $merchantId, array $optParams = [])

Lists order returns in your Merchant Center account.

process(string $merchantId, string $returnId, OrderreturnsProcessRequest $postBody, array $optParams = [])

Processes return in your Merchant Center account. (orderreturns.process)

Details

OrderreturnsAcknowledgeResponse acknowledge(string $merchantId, string $returnId, OrderreturnsAcknowledgeRequest $postBody, array $optParams = [])

Acks an order return in your Merchant Center account.

(orderreturns.acknowledge)

Parameters

string $merchantId

The ID of the account that manages the order. This cannot be a multi-client account.

string $returnId

The ID of the return.

OrderreturnsAcknowledgeRequest $postBody
array $optParams

Optional parameters.

Return Value

OrderreturnsAcknowledgeResponse

Exceptions

Exception

OrderreturnsCreateOrderReturnResponse createorderreturn(string $merchantId, OrderreturnsCreateOrderReturnRequest $postBody, array $optParams = [])

Create return in your Merchant Center account.

(orderreturns.createorderreturn)

Parameters

string $merchantId

The ID of the account that manages the order. This cannot be a multi-client account.

OrderreturnsCreateOrderReturnRequest $postBody
array $optParams

Optional parameters.

Return Value

OrderreturnsCreateOrderReturnResponse

Exceptions

Exception

MerchantOrderReturn get(string $merchantId, string $returnId, array $optParams = [])

Retrieves an order return from your Merchant Center account.

(orderreturns.get)

Parameters

string $merchantId

The ID of the account that manages the order. This cannot be a multi-client account.

string $returnId

Merchant order return ID generated by Google.

array $optParams

Optional parameters.

Return Value

MerchantOrderReturn

Exceptions

Exception

OrderreturnsListResponse listOrderreturns(string $merchantId, array $optParams = [])

Lists order returns in your Merchant Center account.

(orderreturns.listOrderreturns)

Parameters

string $merchantId

The ID of the account that manages the order. This cannot be a multi-client account.

array $optParams

Optional parameters.

Return Value

OrderreturnsListResponse

Exceptions

Exception

OrderreturnsProcessResponse process(string $merchantId, string $returnId, OrderreturnsProcessRequest $postBody, array $optParams = [])

Processes return in your Merchant Center account. (orderreturns.process)

Parameters

string $merchantId

The ID of the account that manages the order. This cannot be a multi-client account.

string $returnId

The ID of the return.

OrderreturnsProcessRequest $postBody
array $optParams

Optional parameters.

Return Value

OrderreturnsProcessResponse

Exceptions

Exception