Orders: getbymerchantorderid

Requires authorization

Retrieves an order using merchant order id. Try it now.

Request

HTTP request

GET https://www.googleapis.com/content/v2/merchantId/ordersbymerchantid/merchantOrderId

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.
merchantOrderId string The merchant order id to be looked for.

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 a response body with the following structure:

{
  "kind": "content#ordersGetByMerchantOrderIdResponse",
  "order": orders Resource
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "content#ordersGetByMerchantOrderIdResponse".
order nested object The requested order.

Try it!

Use the APIs Explorer below to call this method on the Sandbox environment and see the response.
Alternatively, test this on live data.

Send feedback about...

Content API for Shopping