Untitled

mail@pastecode.io avatar
unknown
json
2 years ago
1.4 kB
3
Indexable
Never
{
  "id": 1,
  "name": "iphone11",
  "default_pro":1,
  "product_details": [
    {
      "id": 1,
      "price": "10.000.000",
      "image": "https://i.ibb.co/9qFqM5g/iphone13promax-green-profile.png",
      "description": "",
      "options": [
        {
          "name": "ram",
          "unit": "GB",
          "value": "8"
        },
        {
          "name": "color",
          "unit": "",
          "value": "green"
        },
        {
          "name": "storage",
          "unit": "GB",
          "value": "256"
        }
      ]
    },
    {
      "id": 2,
      "price": "12.000.000",
      "image": "https://i.ibb.co/9VGBNV6/iphone-13-pro-gold-profile.png",
      "description": "",
      "options": [
        {
          "name": "ram",
          "unit": "GB",
          "value": "16"
        },
        {
          "name": "color",
          "unit": "",
          "value": "gold"
        },
        {
          "name": "storage",
          "unit": "GB",
          "value": "512"
        }
      ]
    }
  ],
  "option": [
    {
      "key": "color",
      "value": [
        "red",
        "green"
      ],
      "unit": ""
    },
    {
      "key": "ram",
      "value": [
        "8",
        "16"
      ],
      "unit": "GB"
    },
    {
      "key": "ram",
      "value": [
        "256",
        "512"
      ],
      "unit": "GB"
    }
  ]
}