#!/bin/bash
# UpdateShipmentShipper -- REST curl example
# Pre-configured for the DM Web Services test environment.
# Replace YOUR_TOKEN below with your Bearer token.
BASE_URL="https://webservices.nebulasuite.net"
TOKEN="YOUR_TOKEN"

curl -X POST "${BASE_URL}/api/public/v1/shipping/UpdateShipmentShipper" \
  -H "Authorization: Bearer ${TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{
    "dmLoadNumber": 4363968,
    "shipper": {
      "name": "Warehouse Name",
      "address1": "456 Industrial Blvd",
      "city": "Dallas",
      "state": "TX",
      "zip": "75001",
      "country": "US",
      "phone": "2145551234"
    }
  }'
