{
  "operationId": "updatePaymentSession",
  "method": "PATCH",
  "path": "/agent/checkout-session/{session_id}",
  "examples": [
    {
      "name": "reprice",
      "summary": "Anchor the same shipment to another service",
      "value": {
        "product": "Yamaha FG800 acoustic guitar in a hard case",
        "from_zip": "07102",
        "to_zip": "30303",
        "to_country": "US",
        "quantity": 1,
        "service": "UPS Ground"
      }
    },
    {
      "name": "fromQuote",
      "summary": "Point the session at a fresh quote_id",
      "value": {
        "quote_id": "q_8f3c2e1a4b7d",
        "service": "USPS Ground Advantage"
      }
    },
    {
      "name": "dryRun",
      "summary": "See the new amount without changing the session",
      "value": {
        "dry_run": true,
        "product": "Yamaha FG800 acoustic guitar in a hard case",
        "from_zip": "07102",
        "to_zip": "30303",
        "to_country": "US",
        "quantity": 1,
        "service": "UPS Ground"
      }
    }
  ]
}
