{
  "info": {
    "name": "Nebula Public Shipping API v1",
    "_postman_id": "nebula-public-shipping-v1",
    "description": "All public shipping endpoints for Nebula Web Services v1.\n\nSetup:\n1. The 'baseUrl' variable is pre-configured for the test environment -- no change needed.\n2. Set the 'bearerToken' collection variable to the Bearer token issued for your client.\n   (Edit Collection > Variables tab > paste your token in the 'bearerToken' Current Value field.)\n\nAll endpoints return HTTP 200. Check the 'status' field in the response body for Success or Error.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    { "key": "baseUrl", "value": "https://webservices.nebulasuite.net", "description": "Base URL -- pre-configured for the test environment." },
    { "key": "bearerToken", "value": "", "description": "Bearer token obtained from the token endpoint" },
    { "key": "testDmLoadNumber", "value": "4363968", "description": "DM Load Number to use in test requests" }
  ],
  "auth": { "type": "bearer", "bearer": [{ "key": "token", "value": "{{bearerToken}}", "type": "string" }] },
  "item": [
    {
      "name": "Core Operations",
      "item": [
        { "name": "CreateShipment (Standard)", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/CreateShipment", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","CreateShipment"] }, "body": { "mode": "raw", "raw": "{\"clientReferenceCode\":\"YOUR-CLIENT-CODE\",\"carrierReferenceCode\":\"CARRIER-CODE\",\"serviceLevelCode\":\"OHN\",\"recordLayout\":0,\"consignee\":{\"name\":\"John Smith\",\"address1\":\"123 Main Street\",\"city\":\"Austin\",\"state\":\"TX\",\"zip\":\"78701\",\"country\":\"US\",\"phone\":\"5125551234\"},\"shipper\":{\"name\":\"Acme Warehouse\",\"address1\":\"456 Industrial Blvd\",\"city\":\"Dallas\",\"state\":\"TX\",\"zip\":\"75201\",\"country\":\"US\",\"phone\":\"2145559876\"},\"lineItems\":[{\"pieces\":1,\"weight\":65,\"length\":24,\"width\":12,\"height\":10,\"description\":\"Furniture piece\",\"packagingType\":\"Pallet\"}]}" }, "description": "Creates a standard shipment (recordLayout 0-2). Requires a shipper block; makes no carrier API call. Replace the placeholder client and carrier codes with values provided by DM." } },
        { "name": "CreateShipment (Final Mile)", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/CreateShipment", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","CreateShipment"] }, "body": { "mode": "raw", "raw": "{\n  \"clientReferenceCode\": \"GF37\",\n  \"carrierReferenceCode\": \"PDIB\",\n  \"serviceLevelCode\": \"OHN\",\n  \"recordLayout\": 3,\n  \"consignee\": {\n    \"name\": \"Test Customer\",\n    \"address1\": \"123 Main St\",\n    \"city\": \"Austin\",\n    \"state\": \"TX\",\n    \"zip\": \"78701\",\n    \"country\": \"US\",\n    \"phone\": \"5125551234\"\n  },\n  \"lineItems\": [\n    {\n      \"pieces\": 1,\n      \"weight\": 65,\n      \"length\": 24,\n      \"width\": 12,\n      \"height\": 10,\n      \"description\": \"Test Item\",\n      \"packagingType\": \"Pallet\"\n    }\n  ],\n  \"dates\": [\n    {\n      \"dateType\": \"Expected at Terminal\",\n      \"dateValue\": \"2026-04-20T00:00:00Z\"\n    }\n  ],\n  \"references\": [\n    { \"referenceType\": \"1st Leg - Carrier Name\", \"data\": \"Test Carrier\" },\n    { \"referenceType\": \"1st Leg - CarrierPro\", \"data\": \"BOL-12345\" }\n  ]\n}" }, "description": "Creates a new shipment. For FinalMile (RecordLayout=3) with carrier PDIB, automatically calls FragilePAK to register and returns a carrier PRO number." } },
        {"name": "CreateMultipleStopShipment", "request": {"method": "POST", "header": [{"key": "Content-Type", "value": "application/json"}], "url": {"raw": "{{baseUrl}}/api/public/v1/shipping/CreateMultipleStopShipment", "host": ["{{baseUrl}}"], "path": ["api", "public", "v1", "shipping", "CreateMultipleStopShipment"]}, "body": {"mode": "raw", "raw": "{\n  \"clientReferenceCode\": \"YOUR-CLIENT-CODE\",\n  \"carrierReferenceCode\": \"CARRIER-CODE\",\n  \"serviceLevelCode\": \"OHN\",\n  \"recordLayout\": 1,\n  \"shipper\": {\n    \"name\": \"Central Distribution\",\n    \"address1\": \"500 Industrial Parkway\",\n    \"city\": \"Dallas\",\n    \"state\": \"TX\",\n    \"zip\": \"75201\",\n    \"country\": \"US\",\n    \"phone\": \"2145550100\"\n  },\n  \"additionalStops\": [\n    {\n      \"stopID\": 1,\n      \"stopType\": 0,\n      \"address\": {\n        \"name\": \"Overflow Warehouse\",\n        \"address1\": \"1200 Depot Road\",\n        \"city\": \"Temple\",\n        \"state\": \"TX\",\n        \"zip\": \"76501\",\n        \"country\": \"US\",\n        \"phone\": \"2545550200\"\n      },\n      \"locationType\": \"Warehouse\",\n      \"lineNumbers\": [ 1 ]\n    },\n    {\n      \"stopID\": 2,\n      \"stopType\": 1,\n      \"address\": {\n        \"name\": \"Northside Retail\",\n        \"address1\": \"88 Commerce Way\",\n        \"city\": \"Waco\",\n        \"state\": \"TX\",\n        \"zip\": \"76701\",\n        \"country\": \"US\",\n        \"phone\": \"2545550188\"\n      },\n      \"locationType\": \"Retail Location\",\n      \"appointmentRequired\": true,\n      \"scheduledAppointment\": \"2026-08-12T13:00:00\",\n      \"lineNumbers\": [ 2 ]\n    }\n  ],\n  \"consignee\": {\n    \"name\": \"John Smith\",\n    \"address1\": \"123 Main Street\",\n    \"city\": \"Austin\",\n    \"state\": \"TX\",\n    \"zip\": \"78701\",\n    \"country\": \"US\",\n    \"phone\": \"5125551234\"\n  },\n  \"lineItems\": [\n    {\n      \"pieces\": 1,\n      \"weight\": 65,\n      \"length\": 24,\n      \"width\": 12,\n      \"height\": 10,\n      \"description\": \"Furniture piece\",\n      \"packagingType\": \"Pallet\"\n    },\n    {\n      \"pieces\": 2,\n      \"weight\": 120,\n      \"length\": 40,\n      \"width\": 30,\n      \"height\": 22,\n      \"description\": \"Accent chair, boxed\",\n      \"packagingType\": \"Pallet\"\n    }\n  ]\n}"}, "description": "Creates a shipment with intermediate stops. additionalStops holds ONLY the stops between the start pickup (shipper) and the final delivery (consignee). stopID is all-or-none: supply it on every stop or on none, in which case stops are numbered in array order. recordLayout defaults to 1 and 3 (Final Mile) is rejected. lineNumbers assigns line items to an individual stop: it is all-or-none across stops, at least one line item must stay unassigned per stop type because the shipper and consignee take the remainder, and a line item may be assigned to at most one stop of each type. loadUnitIndexes is reserved, not implemented and not currently planned, and is rejected if populated. Replace the placeholder client and carrier codes with values provided by DM."}},
        { "name": "BookLastMile", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/BookLastMile", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","BookLastMile"] }, "body": { "mode": "raw", "raw": "{\n  \"dmLoadNumber\": {{testDmLoadNumber}}\n}" }, "description": "Books an existing shipment with the last-mile carrier." } },
        { "name": "BookCevaShipment", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/BookCevaShipment", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","BookCevaShipment"] }, "body": { "mode": "raw", "raw": "{\n  \"dmLoadNumber\": {{testDmLoadNumber}}\n}" }, "description": "Books an EXISTING shipment, already rated to CEVA, through the CEVA MatrixOrder API. Carrier-specific sibling of BookLastMile; a shipment rated to any other carrier is refused." } }
      ]
    },
    {
      "name": "Address Updates",
      "item": [
        { "name": "UpdateShipmentConsignee", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/UpdateShipmentConsignee", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","UpdateShipmentConsignee"] }, "body": { "mode": "raw", "raw": "{\n  \"dmLoadNumber\": {{testDmLoadNumber}},\n  \"consignee\": {\n    \"name\": \"Updated Customer Name\",\n    \"address1\": \"456 New St\",\n    \"city\": \"Austin\",\n    \"state\": \"TX\",\n    \"zip\": \"78702\",\n    \"country\": \"US\",\n    \"phone\": \"5125559999\"\n  }\n}" }, "description": "Replaces the consignee address block." } },
        { "name": "UpdateShipmentShipper", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/UpdateShipmentShipper", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","UpdateShipmentShipper"] }, "body": { "mode": "raw", "raw": "{\n  \"dmLoadNumber\": {{testDmLoadNumber}},\n  \"shipper\": {\n    \"name\": \"Warehouse Name\",\n    \"address1\": \"789 Industrial Way\",\n    \"city\": \"Dallas\",\n    \"state\": \"TX\",\n    \"zip\": \"75001\",\n    \"country\": \"US\",\n    \"phone\": \"2145551234\"\n  }\n}" }, "description": "Replaces the shipper address block. Fails for FinalMile (RecordLayout=3)." } }
      ]
    },
    {
      "name": "Carrier PRO",
      "item": [
        { "name": "AddShipmentCarrierPro", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/AddShipmentCarrierPro", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","AddShipmentCarrierPro"] }, "body": { "mode": "raw", "raw": "{\n  \"dmLoadNumber\": {{testDmLoadNumber}},\n  \"carrierProNumber\": \"ABC123456\",\n  \"carrierProDate\": \"2026-04-09T00:00:00Z\"\n}" }, "description": "Sets the carrier PRO number. Fails if a PRO is already assigned." } }
      ]
    },
    {
      "name": "Dates",
      "item": [
        { "name": "UpdateShipmentDate", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/UpdateShipmentDate", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","UpdateShipmentDate"] }, "body": { "mode": "raw", "raw": "{\n  \"dmLoadNumber\": {{testDmLoadNumber}},\n  \"dateType\": \"Expected Pickup\",\n  \"dateValue\": \"2026-04-15T00:00:00Z\"\n}" }, "description": "Upserts a date by type." } },
        { "name": "AddShipmentDate", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/AddShipmentDate", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","AddShipmentDate"] }, "body": { "mode": "raw", "raw": "{\n  \"dmLoadNumber\": {{testDmLoadNumber}},\n  \"dateType\": \"Appointment\",\n  \"dateValue\": \"2026-04-15T08:00:00Z\"\n}" }, "description": "Inserts a date. Fails if that type already exists." } }
      ]
    },
    {
      "name": "References",
      "item": [
        { "name": "AddShipmentReference", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/AddShipmentReference", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","AddShipmentReference"] }, "body": { "mode": "raw", "raw": "{\n  \"dmLoadNumber\": {{testDmLoadNumber}},\n  \"referenceType\": \"Sales Order\",\n  \"data\": \"SO-12345\"\n}" }, "description": "Inserts a reference entry." } },
        { "name": "UpdateShipmentReference", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/UpdateShipmentReference", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","UpdateShipmentReference"] }, "body": { "mode": "raw", "raw": "{\n  \"dmLoadNumber\": {{testDmLoadNumber}},\n  \"referenceType\": \"Sales Order\",\n  \"data\": \"SO-12345\"\n}" }, "description": "Upserts a reference by type." } }
      ]
    },
    {
      "name": "Line Items",
      "item": [
        { "name": "ReplaceShipmentLineItems", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/ReplaceShipmentLineItems", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","ReplaceShipmentLineItems"] }, "body": { "mode": "raw", "raw": "{\n  \"dmLoadNumber\": {{testDmLoadNumber}},\n  \"lineItems\": [\n    {\n      \"pieces\": 2,\n      \"weight\": 120,\n      \"length\": 48,\n      \"width\": 40,\n      \"height\": 36,\n      \"description\": \"Office Chair\",\n      \"sku\": \"CHAIR-001\",\n      \"packagingType\": \"Pallet\",\n      \"class\": \"92.5\",\n      \"unitValue\": 299.99,\n      \"hazardousMaterial\": false,\n      \"lineNumber\": 1\n    },\n    {\n      \"pieces\": 1,\n      \"weight\": 60,\n      \"length\": 30,\n      \"width\": 24,\n      \"height\": 24,\n      \"description\": \"Desk Lamp\",\n      \"sku\": \"LAMP-002\",\n      \"packagingType\": \"Carton\",\n      \"class\": \"85\",\n      \"unitValue\": 79.99,\n      \"hazardousMaterial\": false,\n      \"lineNumber\": 2\n    }\n  ]\n}" }, "description": "Replaces all line items with the supplied set." } }
      ]
    },
    {
      "name": "Terminal Lookup",
      "item": [
        { "name": "GetTerminalByZip", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "body": { "mode": "raw", "raw": "{\n  \"zipCode\": \"32835\"\n}" }, "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/GetTerminalByZip", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","GetTerminalByZip"] }, "description": "Returns the servicing last-mile terminal address for a US zip code. Read-only lookup -- no shipment data is created or modified." }, "response": [] }
      ]
    },
    {
      "name": "Health",
      "item": [
        { "name": "Ping", "request": { "method": "GET", "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/ping", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","ping"] }, "description": "Confirms the shipping service is alive. No auth required." } },
        { "name": "Health", "request": { "method": "GET", "url": { "raw": "{{baseUrl}}/api/public/v1/shipping/health", "host": ["{{baseUrl}}"], "path": ["api","public","v1","shipping","health"] }, "description": "Returns service health status. No auth required." } }
      ]
    }
  ]
}
