Get org profile
Returns your company profile.
GET/v1/workspaces/{regionId}/profile
Returns
200 OK with the object shown in the response.
More details
Returns the caller's organization profile for this workspace (buyer or supplier, based on the caller's role).
Response fields
billingAddressstringThe billing address on one line, derived from billingAddressParts. On a profile saved before addresses had separate fields, the text as it was typed, and billingAddressParts is absent.
billingAddressPartsobjectThe billing address as separate fields (see UpdateOrgProfile).
billingAddressNeedsReviewbooleantrue when an older one-line address couldn't be split into fields with confidence and an administrator should check it. Cleared by saving the address.
billingAddressLegacyTextstringThe one-line address as it was before it was split into fields, kept unchanged.
listedInDirectorybooleanSupplier profiles only: the supplier chose to be found by buyers searching Pleaxy (see UpdateOrgProfile). Absent means not listed.
directoryIdstringSupplier profiles only: the opaque id buyers invite a listed supplier by, set the first time it is listed and kept if it is switched off and on again. Buyers never see your contact email through the directory.
Errors
- 404 Not Found - No org profile exists yet for this workspace and role.
- 401 Unauthorized - No credential was presented, or the Bearer token / X-Api-Key value is missing, invalid, expired, or revoked.
- 403 Forbidden - The caller's Bearer token or API key doesn't grant access to this workspace (regionId), or lacks the required role.
curl "$PLEAXY_API_BASE_URL/v1/workspaces/{regionId}/profile" \
-H "X-Api-Key: $PLEAXY_API_KEY"{
"id": "string",
"role": "buyer" | "supplier",
"regionId": "string",
"regionName": "string",
"companyName": "string",
"billingEmail": "string",
"billingAddress": "string",
"billingAddressParts": {
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postalCode": "string",
"country": "string"
},
"billingAddressNeedsReview": boolean,
"billingAddressLegacyText": "string",
"taxId": "string",
"currency": "string",
"countries": [ "string" ],
"timeZone": "string",
"primaryContactName": "string",
"primaryContactEmail": "string",
"listedInDirectory": boolean,
"directoryId": "string",
"createdAt": "string"
}