---
title: "Update Advanced Order"
method: PATCH
path: "/advanced_orders/{advanced-order-id}/requirement_group"
tags: ["Advanced Number Orders"]
---

# Update Advanced Order

`PATCH /advanced_orders/{advanced-order-id}/requirement_group`

## Path parameters

- `advanced-order-id` string, uuid, required

## Request body

- AdvancedOrderRequest
  - `country_code` string
  - `comments` string
  - `quantity` integer
  - `area_code` string
  - `phone_number_type` 'local' | 'mobile' | 'toll_free' | 'shared_cost' | 'national' | 'landline'
  - `features` string[]
  - `customer_reference` string
  - `requirement_group_id` string, uuid — The ID of the requirement group to associate with this advanced order

## Response `200`

An Advanced Order Response

- AdvancedOrder
  - `country_code` string
  - `comments` string
  - `quantity` integer
  - `area_code` string
  - `phone_number_type` string[]
  - `features` string[]
  - `customer_reference` string
  - `id` string, uuid
  - `status` string[]
  - `orders` string[]
  - `requirement_group_id` string, uuid — The ID of the requirement group associated with this advanced order

## Other responses

- `400` — Bad request, the request was unacceptable, often due to missing a required parameter.
- `401` — Unauthorized
- `404` — The requested resource doesn't exist.
- `422` — Unprocessable entity. Check the 'detail' field in response for details.
- `500` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
