Orders: get

Requires authorization

Retrieves an order from your Merchant Center account. Try it now.

Please note that this call uses the Google order id. In order to retrieve an order using the merchant provided order id, please use the getbymerchantorderid method.

Request

HTTP request

GET https://www.googleapis.com/content/v2/merchantId/orders/orderId

Parameters

Parameter name Value Description
Path parameters
merchantId unsigned long The ID of the account that manages the order. This cannot be a multi-client account.
orderId string The ID of the order.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/content

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an Orders resource in the response body.

Try it!

Use the APIs Explorer below to call this method on the Sandbox environment and see the response.

You must use the sandbox environment to retrieve a test order created with the sandbox-only createtestorder method.

Alternatively, test this on live data.

Send feedback about...

Content API for Shopping