Companies
Read a company
Changed onRetrieve a marketplace company by ID or external ID. If you use the ID, you can omit a prefix or use 'id:' as the prefix. If you use the external ID, you must always specify the 'externalId:' prefix.
Examples:
- By ID: GET /api/account/v2/companies/d689b970-f3f9-42a6-a974-90e2bdadf860
- By external ID: GET /api/account/v2/companies/externalId:37ac4899-0847-41ac-8e6b-adfde0363b37
get/account/v2/companies/{companyUuid}
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companyUuidstring required
Unique identifier of the company. Pass the company UUID (optionally with an id: prefix), or the company external ID with a required externalId: prefix. Examples: d689b970-f3f9-42a6-a974-90e2bdadf860, id:d689b970-f3f9-42a6-a974-90e2bdadf860, externalId:37ac4899-0847-41ac-8e6b-adfde0363b37.
Response
Success
Example response
{
"uuid": "d689b970-f3f9-42a6-a974-90e2bdadf860",
"name": "Company 7078259907",
"enabled": true,
"address": {
"city": "San Francisco",
"country": "United Stated of America",
"state": "California",
"street1": "5th Ave",
"street2": "#400",
"zip": "32455"
},
"companySize": "SMALL",
"customAttributes": [
{
"name": "Geographic Region",
"attributeType": "TEXT",
"label": "Geographic Region",
"hint": "US West, US Central, or US East",
"value": "US"
},
{
"name": "Company Details",
"attributeType": "MULTISELECT",
"label": "Label Names",
"hint": "",
"valueKeys": [
"great option"
]
}
],
"creationDate": 123455,
"industry": "IT",
"salesAgent": {
"rel": "sales",
"href": "http://appdirect/api/account/v2/users/d689b970-f3f9-42a6-a974-90e2bdadf860"
},
"emailAddress": "info@company.com",
"website": "http://www.company.com",
"picture": "http://localhost:8080/profilePics/http://cdn/company.png",
"vendor": false,
"reseller": false,
"channelAdmin": false,
"externalId": "d689b970-f3f9-42a6-a974-90e2bdadf860",
"phoneNumber": "9259221234",
"defaultRole": "USER",
"countryCode": "US",
"status": "INACTIVE",
"thirtyDaysPurchaseLimit": 0,
"thirtyDaysPurchaseLimitExempt": false,
"thirtyDaysPurchaseLimitOverrideAmt": null,
"thirtyDaysPurchaseRemainingAmt": null,
"dailyPurchaseLimit": 0,
"dailyPurchaseLimitExempt": false,
"dailyPurchaseLimitOverrideAmt": 10,
"dailyPurchaseRemainingAmt": null,
"mosiCustomerId": "dda1de23-f062-4391-b213-4deab524552a",
"partner": "APPDIRECT",
"links": [
{
"rel": "self",
"href": "http://appdirect/api/account/v2/companies/d689b970-f3f9-42a6-a974-90e2bdadf860"
},
{
"rel": "memberships",
"href": "http://appdirect/api/account/v2/companies/d689b970-f3f9-42a6-a974-90e2bdadf860/memberships"
}
]
}Changes
- breaking
removed the media type
*/*for the response with the status
- breaking