/customernamess 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:
Customers
getCustomerName
Code samples
const headers = {
Accept: "application/json",
};
fetch("https://goldleaf.app/api/v1/customernamess", {
method: "GET",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
GET /customernamess
Get all customer names
Retrieves a list of all customer names for the organization.
Example responses
200 Response
{
"type": "array",
"items": {
"type": "string",
"example": "Acme Corp"
}
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | A list of customer names. | Inline |
| 500 | Internal Server Error | Server error while retrieving customer names. | Inline |
Response Schema
Status Code 500
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป error | string | false | none | none |
