Order Details

POST /Account/Read/Order

Returns details about the last 5 orders. Secret Hmac Required. Cache Time 1 Hour. Reset if purchase happens.

Body

  • If set, the number of orders returned. Otherwise the five most recent ones are returned.

Responses

  • Order Information successfully returned

    Hide response attributes Show response attributes object
POST /Account/Read/Order
curl \
 -X POST https://Api.StrandVision.com/v1.0/Account/Read/Order \
 -H "Authorization: X-apikey $ACCESS_TOKEN" \
 -H "Authorization: X-apidate $ACCESS_TOKEN" \
 -H "Authorization: X-apihmac $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"ShowCount":5}'
Request example
{
  "ShowCount": 5
}
Request examples
{
  "ShowCount": 5
}
Response examples (200)
[
  {
    "Parent": 10028,
    "Custno": 10028,
    "Invoice": 100617,
    "OrderDate": "Tue, 16 May 2023 21:54:19 GMT",
    "ShipDate": "Tue, 16 May 2023 21:54:19 GMT",
    "PayDate": "Tue, 16 May 2023 21:54:19 GMT",
    "PO": "Verbal",
    "Terms": "No Charge",
    "Company": "StrandVision Digital Signage",
    "FirstName": "",
    "LastName": "",
    "Address1": "6595 South Shore Drive",
    "Address2": "",
    "City": "Altoona",
    "State": "WI",
    "Zip": 54720,
    "CountryCode": "US",
    "Quantity": 2.25,
    "Weight": 0,
    "Total": 0,
    "Balance": 0,
    "Shipping": 0,
    "Tracking": "",
    "InvoiceUrl": "https://www.strandvision.com/.?getinvoice&inv=ebxaDxB",
    "Detail": [
      {
        "ItemNo": 40005012,
        "Desc": "Partner Package (per year)",
        "Qty": 0.25,
        "Weight": 0,
        "Price": 250
      },
      {
        "ItemNo": "Surcharge:Less Than A Year",
        "Desc": "End User Less Than A Year Surcharge",
        "Qty": 1,
        "Weight": 0,
        "Price": 50
      },
      {
        "ItemNo": "Discount:Reseller Discount",
        "Desc": "Reseller Discount",
        "Qty": 1,
        "Weight": 0,
        "Price": -300
      }
    ]
  }
]
Response examples (200)
{
  "Parent": 10028,
  "Custno": 10028,
  "Invoice": 1002200,
  "OrderDate": "Thu, 13 Jul 2023 18:48:27 GMT",
  "ShipDate": "Thu, 13 Jul 2023 19:07:00 GMT",
  "PayDate": 0,
  "PO": "Verbal",
  "Terms": "Net 10",
  "Company": "StrandVision Digital Signage",
  "FirstName": "Mike",
  "LastName": "Strand",
  "Address1": "6595 South Shore Drive",
  "Address2": "string",
  "City": "Altoona",
  "State": "WI",
  "Zip": "54720",
  "CountryCode": "US",
  "Weight": 0,
  "Total": 499.99,
  "Balance": 0,
  "Shipping": 42.0,
  "Tracking": {
    "itemno": {}
  },
  "Detail": [
    {
      "ItemNo": "40000012",
      "Desc": "Basic Package (per year)",
      "Qty": 1,
      "Weight": 0,
      "Price": 499.99
    }
  ]
}