GET api/Partner
Retrieves the information for a given Partner. No parameters are needed for this function. The partner to retrieve is defined by the 3rd parameter in the Partner Authnetication request.
Request Information
Authentication Method
URI Parameters
None.
Body Parameters
None.
Response Information
Successful Response:Resource Description
PartnerName | Description | Type | Additional information |
---|---|---|---|
address |
Address of partner |
Address |
|
whiteLabelSettings |
Settings for white label site |
White Label Settings |
|
partnerId |
Partner identifier. Used for subsequent requests made on the partner's behalf |
string |
|
remoteId |
Parent partner's internal identifier for this sub-partner |
string |
|
partnerToken |
Partner secret token. Used for subsequent requests made on the partner's behalf |
string |
|
name |
Name of partner |
string |
|
status |
Partner's status |
string |
|
settlementCurrency |
The default currency new accounts will settle their Campaign spend in if none is defined at time of account creation. |
string |
|
feeCurrencySetting |
Defines how the currency is chosen when determining the correct fee item for a subscription |
string |
|
Response Formats
application/json, text/json
{ "address": { "street1": "123 Baxter Ct.", "street2": "Apt. 100", "city": "Coolsville", "stateProv": "FL", "postalCode": "55555-5555", "countryCode": "US" }, "whiteLabelSettings": { "headerBgColor": "cccccc", "headerTextColor": "000000", "headerLogoUrl": "https://www.partner.com/resources/sw-wl-logo.png", "topBarBgColor": null, "topBarTextColor": null, "supportPhone": "800-555-0001", "supportEmail": "support@partner.com", "supportUrl": "https://support.partner.com", "mobileAppSplashScreenColor": "ffffff", "mobileAppPrimaryColor": "cccccc", "mobileAppPrimaryTextColor": "000000", "mobileAppSecondaryColor": "222222", "mobileAppSecondaryTextColor": "000000", "mobileAppLogoUrl": "https://www.partner.com/resources/sw-wl-logo-mobile.png", "features": [ "SEM", "Analytics" ], "uiSettings": null, "partnerActions": [ { "actionType": "DisplayBudget", "data": "display/[CAMPAIGN_ID]/modify" }, { "actionType": "DisplayPurchase", "data": "display/[CAMPAIGN_ID]/purchase" }, { "actionType": "DisplayCancel", "data": "display/[CAMPAIGN_ID]/cancel" }, { "actionType": "DisplayReinstate", "data": "display/[CAMPAIGN_ID]/reinstate" } ], "platformPlugins": [ { "platform": "WordPress", "url": "https://partner.com/plugin/wordpress" } ] }, "partnerId": "11111111-zzzz-yyyy-xxxx-1234567890ab", "remoteId": "84957345703003845", "partnerToken": "pppppppppppppppppppppppppppppp", "name": "My Partner", "status": "Active", "settlementCurrency": "Undefined", "feeCurrencySetting": "AlwaysUSD" }