Edit a sub request
PUThttps://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id
Edits the details of an existing sub request.
Request
Path Parameters
Port Request id
Sub Request id
- application/json
Body
required
Updated sub request details
ISO 8601 formatted Date/Time requested for the FOC date
Person Name or Company name requesting the port
Name of person authorizing the port request
Billing phone number associated with these phone numbers
First line of billing address
Second line of billing address
City of billing address
Two character state abbreviation of billing address
Postal Code of billing address
ISO3166-1 alpha-2 country code of billing address
Identifies the connection to set on the numbers when the port completes
porting_option
object
Options for the processing of numbers with your current service provider.
PIN/passcode for accounts that have wireless type numbers
The authorized person's account number with the current service provider
European tax identification number. Applicable only in the European Union
European business identification number. Applicable only in the European Union
Once a sub request is ported, cancellation is requested or the sub request is cancelled, the user may rate their experience.
A comment related to the customer rating
Responses
200: Sub Requests Response
- application/json
401: Unauthorized
Request samples
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
curl -L -X PUT 'https://api.telnyx.com/origination/porting/port_requests/:port_request_id/sub_requests/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"default_connection_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}'
Response samples
[
{
"id": "string",
"phone_numbers": [
{
"phone_number": "string",
"svtype": "string",
"carrier_name": "string",
"coverage_category": "nanp_generic",
"sub_request_id": "string",
"sub_request_status": "string",
"portability_status": "pending"
}
],
"foc_date": "string",
"status": "unassigned",
"support_key": "string",
"phone_number_count": 0,
"underlying_carrier_names": [
"string"
],
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"created_at": "string",
"updated_at": "string",
"default_connection_id": "string",
"default_message_profile_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"description": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}
]