View set for the model ProductVariation.

GET /products/20/variations/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/vnd.purplme+json
Vary: Accept

{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 28,
            "url": "https://api.purplme.com/products/20/variations/28/?format=api",
            "product": {
                "id": 20,
                "url": "https://api.purplme.com/products/20/?format=api",
                "name": "Adobe Lightroom 1tb",
                "brand": {
                    "id": 1,
                    "url": "https://api.purplme.com/brands/1/?format=api",
                    "name": "Adobe",
                    "images": "https://api.purplme.com/brands/1/images/?format=api"
                }
            },
            "description": "Adobe Lightroom 1tb 1 Year Sub",
            "variations": [
                {
                    "id": 2,
                    "url": "https://api.purplme.com/variants/4/variations/2/?format=api",
                    "variant": {
                        "id": 4,
                        "url": "https://api.purplme.com/variants/4/?format=api",
                        "name": "Years"
                    },
                    "value": "1 Year"
                }
            ],
            "price": {
                "currency": "USD",
                "value": "119.57"
            },
            "order_fields": [],
            "images": "https://api.purplme.com/products/20/variations/28/images/?format=api",
            "is_available_for_sale": true,
            "datetime_created": "2025-08-29T13:14:49.752622Z",
            "datetime_updated": "2025-09-12T07:30:14.328217Z"
        }
    ]
}