- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- TemplateName
- Try it!
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 |
The ID of the account that should manage the order. This cannot be a multi-client account. |
templateName |
The name of the template to retrieve. |
Query parameters
Parameters | |
---|---|
country |
The country of the template to retrieve. Defaults to " |
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 ( |
Fields | |
---|---|
template |
The requested test order template. |
kind |
Identifies what kind of resource this is. Value: the fixed string " |
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 . |