var obj = {
    "id": "204901",
    "type": "Item",
    "attributes": {
        "product_name": "Advan 73mm Full Flat Centercap - Umber Bronze",
        "part_number": "avnV3219",
        "mfr_part_number": "V3219",
        "part_description": "Advan 73mm Full Flat Centercap - Umber Bronze",
        "category": "Wheel and Tire Accessories",
        "subcategory": "Wheel Center Caps",
        "dimensions": [
            {
                "box_number": 1,
                "length": 3.8,
                "width": 3.8,
                "height": 1.7,
                "weight": 0.15
            }
        ],
        "brand_id": 223,
        "brand": "Advan",
        "price_group_id": 690,
        "price_group": "Advan B",
        "active": true,
        "born_on_date": "2019-02-08",
        "regular_stock": true,
        "powersports_indicator": false,
        "dropship_controller_id": 452,
        "air_freight_prohibited": false,
        "not_carb_approved": false,
        "carb_acknowledgement_required": false,
        "ltl_freight_required": false,
        "prop_65": "Unknown",
        "epa": "N/A",
        "units_per_sku": 1,
        "warehouse_availability": [
            { "location_id": "01", "can_place_order": true },
            { "location_id": "02", "can_place_order": true },
            { "location_id": "03", "can_place_order": false },
            { "location_id": "59", "can_place_order": true }
        ],
        "clearance_item": false,
        "thumbnail": "https://d32vzsop7y1h3k.cloudfront.net/bbd4293967a261691f16f47cf46788be.PNG",
        "files": [
            {
                "id": "20890072",
                "type": "Image",
                "file_extension": "PNG",
                "media_content": "User 1",
                "generic": false,
                "url": "https://d32vzsop7y1h3k.cloudfront.net/c614f1a15806604356e42bb86f7d4400.PNG",
                "height": "600.00",
                "width": "800.00",
                "size": "L"
            }
        ],
        "descriptions": [
            {
                "type": "Product Description - Short",
                "description": "Advan 73mm Full Flat Centercap - Umber Bronze"
            }
        ],
        "relationships": {
            "vehicle_fitments": {
                "links": {
                    "self": "/v1/items/fitment/204901"
                }
            }
        },
        "purchase_cost": 35.79,
        "jobber_price": null,
        "price": 45.33,
        "compare_price": 47.72,
        "can_purchase": true,
        "fitmentdataids": [],
        "fitmentdata": [],
        "inventorydata": {
            "inventory": {
                "01": 0,
                "02": 0,
                "03": 0,
                "59": 0
            }
        },
        "fitmmentTags": {
            "make": [],
            "model": [],
            "year": [],
            "drive": [],
            "baseModel": []
        }
    },
    "inventoryQuantity": 0
}

const {
    product_name,
    descriptions,
    brand,
    category,
    subcategory,part_number,price
} = obj.attributes;



var data = {
    product_name,
    descriptions,
    brand,
    category,
    subcategory,part_number,price
}
console.log("Product Name : ", data);