GetOrderItem

Usage
Retrieve an order purchased item by ID
Basic URI
/DesktopModules/RazorCart/Services/v1/Orders/{id}/Items/{id}
Parameters
int id               The order Id
int id               The item details Id
AUTH
Bearer JWT
Required Scope(s)
orders
 
Request
GET https://domain.com/DesktopModules/RazorCart/Services/v1/Orders/109/Items/134 HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json
 
Response
{
  "OrderDetailID": 134,
  "OrderID": 109,
  "ProductID": 3,
  "Quantity": 1,
  "UnitCost": 5,
  "ProductName": "Variants Product",
  "ProductSKU": "RC-Ver-03",
  "Shipped": false,
  "Returned": false,
  "DateUpdated": "2017-01-24T18:22:43.193",
  "PortalID": 0,
  "OrderDetailGUID": "eb74341b-3f9d-4fa3-85c8-8decb0789af5",
  "SerialNumber": null,
  "WebServiceData": null,
  "VendorID": 0,
  "TaxRate": 0.1,
  "StatusID": 0,
  "QtyShipped": 0,
  "Weight": 1,
  "CartAddDate": "2017-01-24T18:21:39.68",
  "StoreID": 1,
  "DetailBooking": {
    "IsBooking": false,
    "BookingStart": null,
    "BookingEnd": null,
    "ShowTime": false
  },
  "DetailRecurring": {
    "IsRecurring": false,
    "SubscriptionInterval": null,
    "RecurringOccurances": 0,
    "StartDateSetup": null,
    "StartDate": "0001-01-01T00:00:00",
    "EndtDate": "0001-01-01T00:00:00"
  },
  "DetailVariants": [
    {
      "DetailVariantID": 7,
      "OrderDetailID": 134,
      "VariantGroupID": 10,
      "VariantGroup": "Color",
      "VariantID": 23,
      "VariantName": "Blue",
      "VariantHasText": false,
      "VariantText": null
    },
    {
      "DetailVariantID": 8,
      "OrderDetailID": 134,
      "VariantGroupID": 11,
      "VariantGroup": "Size",
      "VariantID": 25,
      "VariantName": "Small",
      "VariantHasText": false,
      "VariantText": null
    }
  ]
}

Add Feedback