View set for the model ProductVariation.

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

{
    "id": 402,
    "url": "https://api.purplme.com/products/45/variations/402/?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 - 56 Diamonds",
    "variations": [
        {
            "id": 214,
            "url": "https://api.purplme.com/variants/10/variations/214/?format=api",
            "variant": {
                "id": 10,
                "url": "https://api.purplme.com/variants/10/?format=api",
                "name": "Diamonds"
            },
            "value": "56 Diamonds"
        }
    ],
    "price": {
        "currency": "USD",
        "value": "1.00"
    },
    "order_fields": [],
    "images": "https://api.purplme.com/products/45/variations/402/images/?format=api",
    "is_available_for_sale": true,
    "datetime_created": "2025-08-29T13:16:01.136255Z",
    "datetime_updated": "2025-09-12T07:30:42.729223Z"
}