content.orders.getbymerchantorderid
GET {{baseUrl}}/content/v2/:merchantId/ordersbymerchantid/:merchantOrderId?$.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 using merchant order ID.
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
{"kind":"ullamco Ut aliquip","order":{"acknowledged":false,"channelType":"minim laborum","customer":{"email":"consequat fugiat","explicitMarketingPreference":true,"fullName":"tempor amet laboris Lorem","invoiceReceivingEmail":"sint laboris","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":"labore enim f"},"id":"qui ipsum","kind":"laboris nostrud mollit","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":"in aliqua","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":-63866432,"quantityDelivered":16008344,"quantityOrdered":96931474,"quantityPending":5429249,"quantityReadyForPickup":75810447,"quantityReturned":-92900627,"quantityShipped":-97395693,"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":"tempor veniam","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":16945469,"quantityDelivered":1684614,"quantityOrdered":-6867310,"quantityPending":-72026609,"quantityReadyForPickup":7216229,"quantityReturned":-96061626,"quantityShipped":-55111964,"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":"Duis sit consectetur","merchantOrderId":"ad fugiat cillum","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":-17278248,"expirationYear":37571999,"lastFourDigits":"nisi esse sint est","phoneNumber":"irure","type":"incididunt"},"paymentStatus":"irure aliqua","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":"dolor officia eiusmod cillum irure"},"placedDate":"veniam elit","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":"aliqua irure","genericRedemptionCode":"reprehenderit do","id":"Ut adipisicing elit do","longTitle":"sunt esse consectetur ut enim","productApplicability":"sit elit reprehenderit","redemptionChannel":"id consectetur i"},{"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":"veniam dolore aliquip Excepteur dolore","genericRedemptionCode":"deserunt","id":"eiusmod sit laborum esse","longTitle":"velit commodo Ut elit ullamco","productApplicability":"magna","redemptionChannel":"quis Ut"}],"refunds":[{"actor":"qui ea","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":"sit in amet consequat Duis","reason":"nisi fugiat","reasonText":"sit commodo nulla nostrud"},{"actor":"qui voluptate","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":"aliquip enim dolore Excepteur","reason":"culpa voluptate aliqua","reasonText":"nostrud Duis dolore"}],"shipments":[{"carrier":"esse anim","creationDate":"sint","deliveryDate":"ex nulla aliquip","id":"id cupidatat proident pariatur","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":"tempor","trackingId":"cupidatat in culpa minim consequat"},{"carrier":"U","creationDate":"aliqua proident","deliveryDate":"laborum quis in aliqua dolor","id":"laborum id","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":"exercitation minim incididunt qui dolore","trackingId":"pariatur tempor amet Duis ipsum"}],"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":"aute magna dolore","status":"consectetur ex minim pariatur","taxCollector":""}}