Method: orders.gettestordertemplate

Stay organized with collections Save and categorize content based on your preferences.

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

HTTP request

GET https://shoppingcontent.googleapis.com/content/v2.1sandbox/{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

For more information, see the OAuth 2.0 Overview.

TemplateName

Enums
TEMPLATE1 accounts.get template1.
TEMPLATE2 accounts.get template2.
TEMPLATE1A accounts.get template1A.
TEMPLATE1B accounts.get template1B.
TEMPLATE3 accounts.get template3.
TEMPLATE4 accounts.get template4.