View set for the model ProductVariation.

GET /products/45/variations/404/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/vnd.purplme+json
Vary: Accept

{
    "id": 404,
    "url": "https://api.purplme.com/products/45/variations/404/?format=api",
    "product": {
        "id": 45,
        "url": "https://api.purplme.com/products/45/?format=api",
        "name": "Mobile Legends: Bang Bang Diamonds",
        "brand": {
            "id": 41,
            "url": "https://api.purplme.com/brands/41/?format=api",
            "name": "Mobile Legends",
            "images": "https://api.purplme.com/brands/41/images/?format=api"
        }
    },
    "description": "Mobile Legends - 6012 Diamonds",
    "variations": [
        {
            "id": 216,
            "url": "https://api.purplme.com/variants/10/variations/216/?format=api",
            "variant": {
                "id": 10,
                "url": "https://api.purplme.com/variants/10/?format=api",
                "name": "Diamonds"
            },
            "value": "6012 Diamonds"
        }
    ],
    "price": {
        "currency": "USD",
        "value": "100.00"
    },
    "order_fields": [],
    "images": "https://api.purplme.com/products/45/variations/404/images/?format=api",
    "is_available_for_sale": true,
    "datetime_created": "2025-08-29T13:16:01.671941Z",
    "datetime_updated": "2025-09-12T07:30:42.832856Z"
}