/organization/hasparker 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:
Hoses
getOrganizationHasParker
Code samples
const headers = {
Accept: "application/json",
};
fetch("https://goldleaf.app/api/v1/organization/hasparker", {
method: "GET",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
GET /organization/hasparker
Checks if the organization has Parker as the default hose brand
Returns true if the organization has Parker set as its default hose brand in settings, false otherwise.
Example responses
200 Response
true
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Indicates whether Parker is set as the default hose brand | boolean |
| 500 | Internal Server Error | Server error | string |
