Method: orders.gettestordertemplate

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

HTTP request

GET https://www.googleapis.com/content/v2sandbox/{merchantId}/testordertemplates/{templateName}

Path parameters

Parameters
merchantId

string

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

templateName

enum (TemplateName)

The name of the template to retrieve.

Query parameters

Parameters
country

string

The country of the template to retrieve. Defaults to US.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "template": {
    object (TestOrder)
  },
  "kind": string
}
Fields
template

object (TestOrder)

The requested test order template.

kind

string

Identifies what kind of resource this is. Value: the fixed string

"content#ordersGetTestOrderTemplateResponse"

.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/content
  • https://www.googleapis.com/auth/structuredcontent

For more information, see the OAuth 2.0 Overview.

TemplateName

Enums
TEMPLATE1
TEMPLATE2
TEMPLATE1A
TEMPLATE1B
TEMPLATE3