Skip to content

Custom resources

Examples

A product resource

{
    "name": "Macbook Pro",
    "manufacturer": "Apple",
    "available_from": "2021-10-05",
    "stock_level": 24,
    "delivery_available": true,
    "product_image": "http://images.abc.com/macbook_pro_2021.jpg"
}

A company resource

{
    "city": "London",
    "country": "UK",
    "name": "ABC Company",
    "contact": {
        "telephone": "+441234567890",
        "email": "hello@abc.com"
    }
}