Skip to main content
PATCH
/
advanced_orders
/
{advanced-order-id}
/
requirement_group
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const response = await client.advancedOrders.updateRequirementGroup('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');

console.log(response);
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

advanced-order-id
string<uuid>
required

Body

application/json
country_code
string
default:US
Required string length: 2
comments
string
default:""
Maximum length: 255
quantity
integer
default:1
Required range: 1 <= x <= 10000
area_code
string
default:""
Maximum length: 3
phone_number_type
enum<string>
default:local
Available options:
local,
mobile,
toll_free,
shared_cost,
national,
landline
features
enum<string>[]
customer_reference
string
default:""
requirement_group_id
string<uuid>

The ID of the requirement group to associate with this advanced order

Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

Response

200 - application/json

Successful Response

The response is of type any.