ListCustomers

RazorCart > Integration > REST API
Usage
Lists all customers
Basic URI
/DesktopModules/RazorCart/Services/v1/Customers?top={top}&skip={skip}&orderby={orderby}
Parameters
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)
customers
 
Request
GET https://domain.com/DesktopModules/RazorCart/Services/v1/Customers?top=50&skip=0&orderby=first_name HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json
 
Response
[
  {
    "CustomerID": 6,
    "FirstName": "Daniel",
    "LastName": "Parr",
    "Address1": "3810 Woodridge Lane",
    "Address2": null,
    "City": "Memphis",
    "Country": "US",
    "State": "TN",
    "Zip": "38118",
    "HomePhone": "901-362-1605",
    "CellPhone": "901-447-1401",
    "WorkPhone": null,
    "Email": "DanielSParr@rhyta.com",
    "AccountNo": null,
    "MaskAccountNo": null,
    "ABAExpire": null,
    "BillingAdress": "3810 Woodridge Lane",
    "BillingZip": "38118",
    "DNNLogin": "Naristry",
    "DateCreated": "2017-02-23T13:22:18.50",
    "Contact": false,
    "IPAddress": "127.0.0.1",
    "UDF": null,
    "PortalID": 0,
    "CompanyName": null,
    "BuyerRole": null,
    "AnniversaryDate": "1991-02-14T00:00:00",
    "CreditLimit": 0,
    "BidLimit": 0,
    "ModifiedBy": null,
    "DateModified": "2017-02-23T13:22:18.50",
    "TaxID": null,
    "StoreID": 1,
    "TotalRecords": 11,
    "MoreRecords": 0
  },
  {
    "CustomerID": 2,
    "FirstName": "Lue",
    "LastName": "Pool",
    "Address1": "4657 Modoc Alley",
    "Address2": null,
    "City": "Boise",
    "Country": "US",
    "State": "ID",
    "Zip": "83702",
    "HomePhone": "208-841-4893",
    "CellPhone": null,
    "WorkPhone": null,
    "Email": "LueJPool@rhyta.com",
    "AccountNo": null,
    "MaskAccountNo": null,
    "ABAExpire": null,
    "BillingAdress": "4657 Modoc Alley",
    "BillingZip": "83702",
    "DNNLogin": "Grapt1939",
    "DateCreated": "2017-02-22T19:29:32.173",
    "Contact": false,
    "IPAddress": "127.0.0.1",
    "UDF": null,
    "PortalID": 0,
    "CompanyName": null,
    "BuyerRole": null,
    "AnniversaryDate": "1969-04-16T00:00:00",
    "CreditLimit": 0,
    "BidLimit": 0,
    "ModifiedBy": null,
    "DateModified": "2017-02-22T19:35:20.54",
    "TaxID": null,
    "StoreID": 1,
    "TotalRecords": 11,
    "MoreRecords": 0
  }
]