content.orders.gettestordertemplate

GET {{baseUrl}}/content/v2/:merchantId/testordertemplates/:templateName?country=<string>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&upload_protocol=<string>&uploadType=<string>

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

Request Params

KeyDatatypeRequiredDescription
countrystringThe country of the template to retrieve. Defaults to US.
$.xgafvstringV1 error format.
access_tokenstringOAuth access token.
altstringData format for response.
callbackstringJSONP
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAvailable to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
upload_protocolstringUpload protocol for media (e.g. "raw", "multipart").
uploadTypestringLegacy upload protocol for media (e.g. "media", "multipart").

RESPONSES

status: OK

{&quot;kind&quot;:&quot;amet&quot;,&quot;template&quot;:{&quot;customer&quot;:{&quot;email&quot;:&quot;\u003cstring\u003e&quot;,&quot;explicitMarketingPreference&quot;:&quot;\u003cboolean\u003e&quot;,&quot;fullName&quot;:&quot;\u003cstring\u003e&quot;,&quot;marketingRightsInfo&quot;:{&quot;explicitMarketingPreference&quot;:&quot;\u003cstring\u003e&quot;,&quot;lastUpdatedTimestamp&quot;:&quot;\u003cstring\u003e&quot;}},&quot;enableOrderinvoices&quot;:&quot;\u003cboolean\u003e&quot;,&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;lineItems&quot;:[{&quot;product&quot;:{&quot;brand&quot;:&quot;\u003cstring\u003e&quot;,&quot;channel&quot;:&quot;\u003cstring\u003e&quot;,&quot;condition&quot;:&quot;\u003cstring\u003e&quot;,&quot;contentLanguage&quot;:&quot;\u003cstring\u003e&quot;,&quot;fees&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;gtin&quot;:&quot;\u003cstring\u003e&quot;,&quot;imageLink&quot;:&quot;\u003cstring\u003e&quot;,&quot;itemGroupId&quot;:&quot;\u003cstring\u003e&quot;,&quot;mpn&quot;:&quot;\u003cstring\u003e&quot;,&quot;offerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;price&quot;:{&quot;currency&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;targetCountry&quot;:&quot;\u003cstring\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;,&quot;variantAttributes&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;quantityOrdered&quot;:&quot;\u003cuint32\u003e&quot;,&quot;returnInfo&quot;:{&quot;daysToReturn&quot;:&quot;\u003cinteger\u003e&quot;,&quot;isReturnable&quot;:&quot;\u003cboolean\u003e&quot;,&quot;policyUrl&quot;:&quot;\u003cstring\u003e&quot;},&quot;shippingDetails&quot;:{&quot;deliverByDate&quot;:&quot;\u003cstring\u003e&quot;,&quot;method&quot;:{&quot;carrier&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;maxDaysInTransit&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;methodName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;minDaysInTransit&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;shipByDate&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;},&quot;unitTax&quot;:{&quot;currency&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}},{&quot;product&quot;:{&quot;brand&quot;:&quot;\u003cstring\u003e&quot;,&quot;channel&quot;:&quot;\u003cstring\u003e&quot;,&quot;condition&quot;:&quot;\u003cstring\u003e&quot;,&quot;contentLanguage&quot;:&quot;\u003cstring\u003e&quot;,&quot;fees&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;gtin&quot;:&quot;\u003cstring\u003e&quot;,&quot;imageLink&quot;:&quot;\u003cstring\u003e&quot;,&quot;itemGroupId&quot;:&quot;\u003cstring\u003e&quot;,&quot;mpn&quot;:&quot;\u003cstring\u003e&quot;,&quot;offerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;price&quot;:{&quot;currency&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;targetCountry&quot;:&quot;\u003cstring\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;,&quot;variantAttributes&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;quantityOrdered&quot;:&quot;\u003cuint32\u003e&quot;,&quot;returnInfo&quot;:{&quot;daysToReturn&quot;:&quot;\u003cinteger\u003e&quot;,&quot;isReturnable&quot;:&quot;\u003cboolean\u003e&quot;,&quot;policyUrl&quot;:&quot;\u003cstring\u003e&quot;},&quot;shippingDetails&quot;:{&quot;deliverByDate&quot;:&quot;\u003cstring\u003e&quot;,&quot;method&quot;:{&quot;carrier&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;maxDaysInTransit&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;methodName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;minDaysInTransit&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;shipByDate&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;},&quot;unitTax&quot;:{&quot;currency&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}}],&quot;notificationMode&quot;:&quot;\u003cstring\u003e&quot;,&quot;paymentMethod&quot;:{&quot;expirationMonth&quot;:&quot;\u003cinteger\u003e&quot;,&quot;expirationYear&quot;:&quot;\u003cinteger\u003e&quot;,&quot;lastFourDigits&quot;:&quot;\u003cstring\u003e&quot;,&quot;predefinedBillingAddress&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;},&quot;predefinedDeliveryAddress&quot;:&quot;\u003cstring\u003e&quot;,&quot;predefinedPickupDetails&quot;:&quot;\u003cstring\u003e&quot;,&quot;promotions&quot;:[{&quot;benefits&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;effectiveDates&quot;:&quot;exercitation co&quot;,&quot;genericRedemptionCode&quot;:&quot;eiusmod sint&quot;,&quot;id&quot;:&quot;quis mollit aliquip commodo ex&quot;,&quot;longTitle&quot;:&quot;aliqua&quot;,&quot;productApplicability&quot;:&quot;dolore laborum laboris&quot;,&quot;redemptionChannel&quot;:&quot;pariatur voluptate&quot;},{&quot;benefits&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;effectiveDates&quot;:&quot;commodo sed minim Ut dolore&quot;,&quot;genericRedemptionCode&quot;:&quot;tempor non do aute&quot;,&quot;id&quot;:&quot;labore &quot;,&quot;longTitle&quot;:&quot;Lorem est nisi&quot;,&quot;productApplicability&quot;:&quot;aute ipsum ex&quot;,&quot;redemptionChannel&quot;:&quot;in consequat exercitation in&quot;}],&quot;shippingCost&quot;:{&quot;currency&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;shippingCostTax&quot;:{&quot;currency&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;shippingOption&quot;:&quot;\u003cstring\u003e&quot;}}