{
  "info": {
    "_postman_id": "68e45f1d-3259-43d2-935e-429923df4e38",
    "name": "EkspedisiKu",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "7427318"
  },
  "item": [
    {
      "name": "List Rate",
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "3|q8mQMLZe0Dd3MuDx5vGAC2dP6uDmDYCLBdc8Gchbb44486b2",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"origin\": \"Jakarta\",\n  \"destination\": \"Bandung\",\n  \"weight\": 1\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "http://localhost:8000/api/rates",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "8000",
          "path": [
            "api",
            "rates"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Booking",
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "3|q8mQMLZe0Dd3MuDx5vGAC2dP6uDmDYCLBdc8Gchbb44486b2",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"carrier\": \"lion_parcel\",\n  \"shipment\": {\n    \"origin\": \"KEBON JERUK, JAKARTA BARAT\",\n    \"destination\": \"KEBON JERUK, JAKARTA BARAT\",\n    \"reference\": \"INV-001\",\n    \"sender\": {\n      \"name\": \"Lio Lio\",\n      \"phone\": \"+628965009090\",\n      \"address\": \"Jl. Manchester City, District Old Trafford\"\n    },\n    \"recipient\": {\n      \"name\": \"Liona\",\n      \"phone\": \"0896793939321\",\n      \"address\": \"Jl. King Manchester United, Santiago Bernabeu\",\n      \"email\": \"tester@gmail.com\"\n    },\n    \"package\": {\n      \"service_code\": \"REGPACK\",\n      \"commodity_code\": \"ABR036\",\n      \"insurance_type\": \"free\",\n      \"goods_value\": 100000,\n      \"is_cod\": false,\n      \"cod_amount\": 0,\n      \"is_woodpacking\": false,\n      \"pieces\": [\n        { \"length\": 10, \"width\": 10, \"height\": 10, \"weight\": 1 }\n      ]\n    },\n    \"documents\": {\n      \"cipls\": [\n        { \"commodity_name\": \"ABR036\", \"item_detail\": \"Electronics\", \"quantity\": 1, \"item_price\": 100000 }\n      ],\n      \"recipient_identity_number\": \"321321313213213\",\n      \"recipient_tax_number\": \"3213131321321321\",\n      \"identity_card_file\": \"https://dummyimage.com/300x300/000000/000000.jpg\",\n      \"tax_number_file\": \"https://dummyimage.com/300x300/000000/000000.jpg\",\n      \"package_before_packing_file\": \"https://dummyimage.com/300x300/000000/000000.jpg\",\n      \"package_after_packing_file\": \"https://dummyimage.com/300x300/000000/000000.jpg\"\n    }\n  },\n  \"items\": [ { \"name\": \"Case HP iPhone\", \"variant\": \"Merah\", \"qty\": 1 } ]\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "http://localhost:8000/api/shipments",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "8000",
          "path": [
            "api",
            "shipments"
          ]
        }
      },
      "response": []
    },
    {
      "name": "pickup",
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "3|q8mQMLZe0Dd3MuDx5vGAC2dP6uDmDYCLBdc8Gchbb44486b2",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Timezone",
            "value": "+07:00",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"pickup\": {\n    \"shipment_ids\": [\"99LP1776691946570\"],\n    \"start_at\": \"2026-04-20T10:48:00+07:00\",\n    \"end_at\": \"2026-04-20T12:48:00+07:00\"\n  }\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "http://localhost:8000/api/pickup",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "8000",
          "path": [
            "api",
            "pickup"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Tracking",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "3|q8mQMLZe0Dd3MuDx5vGAC2dP6uDmDYCLBdc8Gchbb44486b2",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "http://localhost:8000/api/track/99LP1776691946570?carrier=lion_parcel",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "8000",
          "path": [
            "api",
            "track",
            "99LP1776691946570"
          ],
          "query": [
            {
              "key": "carrier",
              "value": "lion_parcel"
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Verify Token",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "3|q8mQMLZe0Dd3MuDx5vGAC2dP6uDmDYCLBdc8Gchbb44486b2",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"origin\": \"Jakarta\",\n  \"destination\": \"Bandung\",\n  \"weight\": 1\n}"
        },
        "url": {
          "raw": "http://localhost:8000/api/user",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "8000",
          "path": [
            "api",
            "user"
          ]
        }
      },
      "response": []
    }
  ]
}