content.orders.get
GET {{baseUrl}}/content/v2/:merchantId/orders/:orderId?$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>"aUser=<string>&upload_protocol=<string>&uploadType=<string>
Retrieves an order from your Merchant Center account.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
$.xgafv | string | V1 error format. | |
access_token | string | OAuth access token. | |
alt | string | Data format for response. | |
callback | string | JSONP | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API 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_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | Available 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_protocol | string | Upload protocol for media (e.g. "raw", "multipart"). | |
uploadType | string | Legacy upload protocol for media (e.g. "media", "multipart"). |
RESPONSES
status: OK
{"acknowledged":false,"channelType":"velit est laboris in Ut","customer":{"email":"tempor","explicitMarketingPreference":false,"fullName":"dolore","invoiceReceivingEmail":"et ani","marketingRightsInfo":{"explicitMarketingPreference":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"lastUpdatedTimestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"marketingEmailAddress":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"deliveryDetails":{"address":{"country":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullAddress":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isPostOfficeBox":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"locality":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"postalCode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"recipientName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"region":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"streetAddress":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"phoneNumber":"enim qui quis"},"id":"qui laborum sit sed","kind":"dolor esse Duis i","lineItems":[{"annotations":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"cancellations":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"id":"incididunt laborum qui eu dolor","price":{"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"product":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"quantityCanceled":-79473684,"quantityDelivered":30660795,"quantityOrdered":26526053,"quantityPending":20106039,"quantityReadyForPickup":-62633443,"quantityReturned":12106377,"quantityShipped":87417373,"returnInfo":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"returns":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"shippingDetails":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"tax":{"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"annotations":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"cancellations":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"id":"eu pariatur amet ut consectetur","price":{"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"product":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"quantityCanceled":51735234,"quantityDelivered":15753413,"quantityOrdered":-54697697,"quantityPending":-36435205,"quantityReadyForPickup":53935027,"quantityReturned":-36157361,"quantityShipped":-36714157,"returnInfo":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"returns":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"shippingDetails":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"tax":{"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}],"merchantId":"Excepteur magna voluptate","merchantOrderId":"","netAmount":{"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"paymentMethod":{"billingAddress":{"country":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullAddress":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isPostOfficeBox":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"locality":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"postalCode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"recipientName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"region":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"streetAddress":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"expirationMonth":-72896559,"expirationYear":-19220740,"lastFourDigits":"nu","phoneNumber":"Ut in in enim","type":"enim cupidatat est"},"paymentStatus":"in in qui tempor","pickupDetails":{"address":{"country":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullAddress":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isPostOfficeBox":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"locality":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"postalCode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"recipientName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"region":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"streetAddress":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"collectors":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"locationId":"incididunt ea Duis"},"placedDate":"exercit","promotions":[{"benefits":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"effectiveDates":"est nostrud anim Duis eiusmod","genericRedemptionCode":"eu nulla Excepteur do","id":"consequat laborum enim adipisicing","longTitle":"ea ","productApplicability":"fugiat","redemptionChannel":"aute ut officia"},{"benefits":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"effectiveDates":"in est et dolore","genericRedemptionCode":"adipisicing eiusmod Excepteur","id":"nostrud","longTitle":"dolore in eu Lorem","productApplicability":"id sed ea ad","redemptionChannel":"deserunt ex tempor irure"}],"refunds":[{"actor":"et reprehenderit","amount":{"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"creationDate":"esse ul","reason":"laboris dolore aliqua ea","reasonText":"ullamco laborum"},{"actor":"culpa tempor","amount":{"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"creationDate":"ut veniam commodo","reason":"labore eiusmod proident","reasonText":"veniam commodo laboris deserunt laborum"}],"shipments":[{"carrier":"in","creationDate":"fugiat incididunt","deliveryDate":"sed","id":"fugiat ut ad","lineItems":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"scheduledDeliveryDetails":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"status":"dolor eiusmod","trackingId":"dolore aliqua amet occaecat cupidatat"},{"carrier":"amet est enim","creationDate":"sint eu dolore","deliveryDate":"ut mollit veniam qui aliqua","id":"incididunt Duis dolore elit velit","lineItems":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"scheduledDeliveryDetails":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"status":"ex sint Lorem consectetur","trackingId":"dolore id"}],"shippingCost":{"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"shippingCostTax":{"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"shippingOption":"sit consequat aliqua reprehenderit","status":"velit culpa","taxCollector":"labore ad"}