/warehouses/exceltemplate 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:
Warehouses
postWarehousesExcelTemplate
Code samples
const headers = {
Accept: "application/json",
};
fetch("https://goldleaf.app/api/v1/warehouses/exceltemplate", {
method: "POST",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
POST /warehouses/exceltemplate
Download Excel import template
Download a pre-formatted Excel file for importing warehouses. Admin-only access.
Example responses
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Excel template downloaded successfully. | None |
| 401 | Unauthorized | Unauthorized. | None |
| 403 | Forbidden | Forbidden. | None |
| 500 | Internal Server Error | Server error. | None |
