/organization/defaultadaptorbrand v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
Brands
getOrganizationDefaultAdaptorBrand
Code samples
const headers = {
Accept: "application/json",
};
fetch("https://goldleaf.app/api/v1/organization/defaultadaptorbrand", {
method: "GET",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
GET /organization/defaultadaptorbrand
Gets default (hose) brand
Retrieves the default adaptor brand for the organization.
Example responses
500 Response
{
"type": "object",
"properties": {
"items": {
"type": "array"
},
"totals": {
"type": "number"
}
}
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | The default adaptor brand | None |
| 500 | Internal Server Error | Server error | Inline |
Response Schema
Status Code 500
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| » items | array | false | none | none |
| » totals | number | false | none | none |
