---
title: "Update requirement group for a sub number order"
method: POST
path: "/sub_number_orders/{id}/requirement_group"
tags: ["Requirement Groups"]
---

# Update requirement group for a sub number order

`POST /sub_number_orders/{id}/requirement_group`

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `requirement_group_id` string, uuid, required — The ID of the requirement group to associate

## Response `200`

Sub number order requirement group updated successfully

- SubNumberOrderRequirementGroupResponse
  - `data` object
    - `id` string, uuid
    - `order_request_id` string, uuid
    - `country_code` string
    - `phone_number_type` string
    - `phone_numbers_count` integer
    - `requirements_met` boolean
    - `is_block_sub_number_order` boolean
    - `status` string
    - `customer_reference` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `record_type` string
    - `regulatory_requirements` RegulatoryRequirement[]
      - `record_type` string
      - `requirement_id` string, uuid
      - `field_type` string
    - `phone_numbers` SubNumberOrderPhoneNumber[]
      - `id` string, uuid
      - `phone_number` string
      - `country_code` string
      - `phone_number_type` string
      - `requirements_met` boolean
      - `requirements_status` string
      - `status` string
      - `record_type` string
      - `bundle_id` string, uuid, nullable
      - `regulatory_requirements` object[]
        - `requirement_id` string, uuid
        - `field_type` string
        - `field_value` string
        - `status` string

## 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)
