Get My Dealer List

Overview

Returns a list of dealers and their Rider Rewards API keys and ids, which you'll need when uploading data to us. You can also lookup a single dealer's API settings based on your store identifier (PartnerStoreID). Every time we "on board" a new customer that you're authorized to sync, you will provide an identifier which we'll store in our system for you (PartnerStoreID).  Then you'll be able to lookup data based on your store identifier or get a list of all stores, and their corresponding Rider Rewards API Keys. 

Post Url

https://api.riderrewards.com/getmydealerlist

- SSL is required

Headers

Name  Max Length*   Required      Notes
PartnerAPIKey50YesAPI Key for approved partners, to be provided by More Than Rewards. To become an approved partner call More Than Rewards at 414-326-4100.
PartnerAPIAdminPassword50YesPassword provided to Partners by More Than Rewards. Used to access Admin level API endpoints such as this.
PartnerStoreID
50NoAPI user's (Partner) unique identifier in their system for a given store.
If passed, 'authorizedstore' for the specified store is returned.
If empty or not passed, all 'authorizedstore's are returned.

* An error will not result if Max Length is exceeded. Data will be trimmed to this length.
+ These are set in the header WITHOUT base64, just regular header values via SSL 


Sample Results

Success Message

{
  "results": {
    "message": "Success",
    "PartnerAPIKey": "154asdf212312312312adf",
    "totalauthorizedstores": "50"
  },
  "authorizedstores": [
    {
      "RowNumber": "1",
      "PartnerStoreID": "1054",
      "PartnerActivationDate": "10/10/2018",
      "RRStoreID": "1054",
      "RRStoreAPIKey": "154asdf212312312312adf",
      "CRMStoreID": "0",
      "CRMStoreAPIKey": "0",
      "LBLStoreID": "0",
      "LBLStoreAPIKey": "0",
      "StoreName": "More Than Rewards",
      "StoreAddress": "123 Main St",
      "StoreState": "WI",
      "StoreZip": "53154",
      "StoreCountry": "US",
      "StoreURL": "http://www.morethanrewards.com"
    },
    {
      "RowNumber": "2",
      "PartnerStoreID": "105a",
      "PartnerActivationDate": "1/10/2018",
      "RRStoreID": "1055",
      "RRStoreAPIKey": "asdf212312312312adf",
      "CRMStoreID": "12",
      "CRMStoreAPIKey": "aasad32",
      "LBLStoreID": "0",
      "LBLStoreAPIKey": "0",
      "StoreName": "Store Two",
      "StoreAddress": "123 Second St",
      "StoreState": "WI",
      "StoreZip": "53154",
      "StoreCountry": "US",
      "StoreURL": "http://www.morethanrewards.com"
    }
  ]
}


Sample Failure Message

{
  "results": { "error": "Unauthorized" }
}