/hosekit/{hoseKitId}/allitems 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:
Hose Kits
getHoseKitIdAllItems
Code samples
const headers = {
Accept: "application/json",
Authorization: {
type: "string",
},
};
fetch("https://goldleaf.app/api/v1/hosekit/{hoseKitId}/allitems", {
method: "GET",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
GET /hosekit/{hoseKitId}/allitems
Retrieve all items in a hose kit
Retrieves all items associated with the specified hose kit, including hose assemblies, adaptors, and other items.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| hoseKitId | path | string(objectId) | true | The ID of the hose kit to retrieve items for. |
| Authorization | header | string | true | Bearer token for authentication. |
Example responses
500 Response
{
"type": "string"
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | A list of items in the hose kit. | None |
| 500 | Internal Server Error | none | string |
