{
  "info": {
    "_postman_id": "5c3c9664-e1cb-424a-8db9-9ae8c9e10233",
    "name": "bimekala",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "29039970"
  },
  "item": [
    {
      "name": "connection check",
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "type": "text/javascript",
            "exec": [
              ""
            ]
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "x_token",
            "value": "b78b9a79-00cc-4ff6-b00c-16050244c3c4"
          },
          {
            "key": "x_client",
            "value": "develop"
          }
        ],
        "url": {
          "raw": "{{url}}/store/insurance/v2/connectionCheck",
          "host": [
            "{{url}}"
          ],
          "path": [
            "store",
            "insurance",
            "v2",
            "connectionCheck"
          ]
        }
      },
      "response": []
    },
    {
      "name": "categories",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "x_token",
            "value": "b78b9a79-00cc-4ff6-b00c-16050244c3c4"
          },
          {
            "key": "x_client",
            "value": "develop"
          }
        ],
        "url": {
          "raw": "{{url}}/store/insurance/v2/categories",
          "host": [
            "{{url}}"
          ],
          "path": [
            "store",
            "insurance",
            "v2",
            "categories"
          ]
        }
      },
      "response": []
    },
    {
      "name": "brands",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "x_token",
            "value": "b78b9a79-00cc-4ff6-b00c-16050244c3c4"
          },
          {
            "key": "x_client",
            "value": "develop"
          }
        ],
        "url": {
          "raw": "{{url}}/store/insurance/v2/brands",
          "host": [
            "{{url}}"
          ],
          "path": [
            "store",
            "insurance",
            "v2",
            "brands"
          ]
        }
      },
      "response": []
    },
    {
      "name": "wallet",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "x_token",
            "value": "b78b9a79-00cc-4ff6-b00c-16050244c3c4"
          },
          {
            "key": "x_client",
            "value": "develop"
          }
        ],
        "url": {
          "raw": "{{url}}/store/insurance/v2/wallet",
          "host": [
            "{{url}}"
          ],
          "path": [
            "store",
            "insurance",
            "v2",
            "wallet"
          ]
        }
      },
      "response": []
    },
    {
      "name": "order",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "x_token",
            "value": "b78b9a79-00cc-4ff6-b00c-16050244c3c4"
          },
          {
            "key": "x_client",
            "value": "develop"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"phoneNumber\": \"09121234567\",\r\n  \"fullName\": \"string\",\r\n  \"validationMode\": false,\r\n  \"orderId\": \"string\",\r\n  \"items\": [\r\n    {\r\n      \"insuranceType\": 1,\r\n      \"productName\": \"string\",\r\n      \"brand\": \"string\",\r\n      \"category\": \"string\",\r\n      \"devicePrice\": 1234567,\r\n      \"serialDevice\": \"string\",\r\n      \"orderItemId\": \"string\"\r\n    }\r\n  ]\r\n}\r\n",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{url}}/store/insurance/v2/order/create",
          "host": [
            "{{url}}"
          ],
          "path": [
            "store",
            "insurance",
            "v2",
            "order",
            "create"
          ]
        }
      },
      "response": []
    },
    {
      "name": "cancel order",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "x_token",
            "value": "b78b9a79-00cc-4ff6-b00c-16050244c3c4"
          },
          {
            "key": "x_client",
            "value": "develop"
          }
        ],
        "url": {
          "raw": "{{url}}/store/insurance/v2/order/cancel/123456",
          "host": [
            "{{url}}"
          ],
          "path": [
            "store",
            "insurance",
            "v2",
            "order",
            "cancel",
            "123456"
          ]
        }
      },
      "response": []
    },
    {
      "name": "cancel order item",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "x_token",
            "value": "b78b9a79-00cc-4ff6-b00c-16050244c3c4"
          },
          {
            "key": "x_client",
            "value": "develop"
          }
        ],
        "url": {
          "raw": "{{url}}/store/insurance/v2/order/cancel/123456/456789/1",
          "host": [
            "{{url}}"
          ],
          "path": [
            "store",
            "insurance",
            "v2",
            "order",
            "cancel",
            "123456",
            "456789",
            "1"
          ]
        }
      },
      "response": []
    }
  ],
  "variable": [
    {
      "key": "url",
      "value": "https://api.bimekala.com"
    }
  ]
}