ListOrderItems

Usage
Lists an order purchased items
Basic URI
/DesktopModules/RazorCart/Services/v1/Order/{id}/Items?top={top}&skip={skip}&orderby={orderby}
Parameters
int id                 The order Id
int top               The maximum number of rows to return
int skip              The start row index
string orderby    A sort expression
AUTH
Bearer JWT
Required Scope(s)
orders
 
Request
GET https://domain.com/DesktopModules/RazorCart/Services/v1/Orders/109/Items?top=50&skip=0&orderby=product_name HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json
 
Response
[
  {
    "OrderDetailID" : 134,
    "OrderID" : 109,
    "ProductID" : 3,
    "Quantity" : 1.00,
    "UnitCost" : 5.0000,
    "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.00,
    "Weight" : 1.00,
    "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
      }
    ]
  },
  {
    "OrderDetailID" : 133,
    "OrderID" : 109,
    "ProductID" : 1,
    "Quantity" : 1.00,
    "UnitCost" : 3.9900,
    "ProductName" : "Regular Product",
    "ProductSKU" : "RC-Reg-01",
    "Shipped" : false,
    "Returned" : false,
    "DateUpdated" : "2017-01-24T18:22:43.15",
    "PortalID" : 0,
    "OrderDetailGUID" : "c97b4483-f335-471e-a8cd-d83221a913c7",
    "SerialNumber" : null,
    "WebServiceData" : null,
    "VendorID" : 0,
    "TaxRate" : 0.1,
    "StatusID" : 0,
    "QtyShipped" : 0.00,
    "Weight" : 1.00,
    "CartAddDate" : "2017-01-24T18:21:04.563",
    "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" : [ ]
  }
]

Add Feedback