Edge View Endpoint

Returns a requested material.

Response

This returns a requested Edge record based on the provided id.

Examples

Request

curl -X GET 'https://cabinetry.online/api/product/edges/723' -H 'X-GC-API-KEY: xxxxxxxxxxxx'

Successful Response

{
    "data": {
        "id": 723,
        "brand_id": 1,
        "material_type_id": 2,
        "item_code": null,
        "name": "Alabaster",
        "image": "Laminex/Alabaster.jpg",
        "finish": "Flint Solid Colour",
        "thickness": 2,
        "door_filter": "Flat Panel",
        "length_cost": 1.21,
        "handling_cost": 0.5,
        "area_handling_cost": 1.5,
        "application_cost": 0.9,
        "brand": {
            "id": 1,
            "name": "Laminex"
        },
        "material_type": {
            "id": 2,
            "name": "Melamine",
            "is_vinyl": false
        },
        "is_hidden": false,
        "defaults": {
            "handling_cost": 0.5,
            "length_cost": 1.21,
            "area_handling_cost": 1.5,
            "application_cost": 0.9
        }
    },
    "success": 1
}