---
title: "Update PortOrder"
method: PUT
path: "/portorders/{id}"
tags: ["PortOrders", "portorders"]
---

# Update PortOrder

`PUT /portorders/{id}`

## Request

- Base URL: `https://api.fonestorm.com/v2`
- URL: `https://api.fonestorm.com/v2/portorders/{id}`
- Auth: API key in header `token`

Update a PortOrder.

## Path parameters

- `id` string, required

## Query parameters

- `status` 'confirm' | 'activate'

## Request body

- object
  - `subaccount` string: PortOrder subaccount.
  - `customer_pon` string: Customer PortOrder Number for PortOrder.
  - `account_info` object: Account information.
    - `company` string: Company name.
    - `address_1` string: Address line 1.
    - `address_2` string: Address line 2.
    - `house_prefix` string: House prefix.
    - `house_number` string: House number.
    - `house_suffix` string: House suffix.
    - `pre_directional` string: Pre directional.
    - `street_name` string: Street name.
    - `street_suffix` string: Street suffix.
    - `post_directional` string: Post directional.
    - `city` string: City.
    - `state` 'AL' | 'AK' | 'AZ' | 'AR' | 'CA' | 'CO' | 'CT' | 'DE' | 'DC' | 'FL' | 'GA' | 'HI' | 'ID' | 'IL' | 'IN' | 'IA' | 'KS' | 'KY' | 'LA' | 'ME' | 'MD' | 'MA' | 'MI' | 'MN' | 'MS' | 'MO' | 'MT' | 'NE' | 'NV' | 'NH' | 'NJ' | 'NM' | 'NY' | 'NC' | 'ND' | 'OH' | 'OK' | 'OR' | 'PA' | 'PR' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VT' | 'VA' | 'WA' | 'WV' | 'WI' | 'WY' | 'AB' | 'BC' | 'MB' | 'NB' | 'NL' | 'NS' | 'NT' | 'NU' | 'ON' | 'PE' | 'QC' | 'SK' | 'YT': State.
    - `zip` string: Zip code.
    - `country` 'United States' | 'Canada' | 'International': Country.
  - `contact_info` object: Contact information.
    - `first_name` string: First name.
    - `middle_initial` string: Middle initial.
    - `last_name` string: Last name.
    - `email` string: Email.
    - `phone` string: Phone.
    - `title` string: Title.
    - `authorized_user` string: Authorized user full name.
  - `current_service` object: Contact information.
    - `service_provider` string: Current service provider.
    - `account_number` string: Account number with current service provider.
    - `pin` string: PIN with current service provider.
    - `billing_number` string: Billing number with current service provider.
  - `port_settings` object: Contact information.
    - `desired_due_date` string: Desired due date for PortOrder in YYYY-MM-DD format.
    - `partial_port` boolean: Partial port or not.
    - `wireless` boolean: Wireless numbers or not.
    - `business` boolean: Business numbers or not.
    - `new_btn` string: New BTN.
  - `observers` string[]: PortOrder ID.
  - `phone_numbers` object[]: PortOrder ID.
    - `phone_number` string: Phone number.
    - `fax` boolean: Fax number or not.

## Response `200`

Success

- object
  - `portorder` PortOrder
    - `id` string: PortOrder ID.
    - `customer_pon` string: Customer PortOrder Number.
    - `status` string: PortOrder status.
    - `port_order_date` string: PortOrder creation date.
    - `foc_at` string: PortOrder FOC date and time.
    - `subaccount` string: PortOrder subaccount.
    - `account_info` object: Account information.
      - `company` string: Company name.
      - `address_1` string: Address line 1.
      - `address_2` string: Address line 2.
      - `house_prefix` string: House prefix.
      - `house_number` string: House number.
      - `house_suffix` string: House suffix.
      - `pre_directional` string: Pre directional.
      - `street_name` string: Street name.
      - `street_suffix` string: Street suffix.
      - `post_directional` string: Post directional.
      - `city` string: City.
      - `state` string: State.
      - `zip` string: Zip code.
      - `country` string: Country.
    - `contact_info` object: Contact information.
      - `first_name` string: First name.
      - `middle_initial` string: Middle initial.
      - `last_name` string: Last name.
      - `email` string: Email.
      - `phone` string: Phone.
      - `title` string: Title.
      - `authorized_user` string: Authorized user full name.
    - `current_service` object: Contact information.
      - `service_provider` string: Current service provider.
      - `account_number` string: Account number with current service provider.
      - `pin` string: PIN with current service provider.
      - `billing_number` string: Billing number with current service provider.
    - `port_settings` object: Contact information.
      - `desired_due_date` string: Desired due date for PortOrder.
      - `partial_port` boolean: Partial port or not.
      - `wireless` boolean: Wireless numbers or not.
      - `business` boolean: Business numbers or not.
      - `new_btn` string: New BTN.
    - `customer_notes` string: Customer notes.
    - `observers` string: PortOrder ID.
    - `phone_numbers` object[]: PortOrder ID.
      - `phone_number` string: Phone number.
      - `fax` boolean: Fax number or not.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `default`: Error

---

[API](https://skmtc.dev/fonestorm/apis/fractel-api-2-12-87c-hail.md) · [All operations](https://skmtc.dev/fonestorm/apis/fractel-api-2-12-87c-hail/llms.txt) · [OpenAPI document](https://skmtc.dev/fonestorm/apis/fractel-api-2-12-87c-hail/revisions/9738d9b806d4?raw)
