Skip to main content

Cancel a porting order

POST 

/porting_orders/:id/actions/cancel

Cancel a porting order

Request

Path Parameters

    id uuidrequired

    Porting Order id

Responses

200: Successful response

Schema

    data

    object

    id uuid

    Uniquely identifies this porting order

    customer_reference string

    A customer-specified reference number for customer bookkeeping purposes

    created_at date-time

    ISO 8601 formatted date indicating when the resource was created.

    updated_at date-time

    ISO 8601 formatted date indicating when the resource was created.

    status

    object

    Porting order status

    details

    object[]

    A list of 0 or more details about this porting order's status

  • Array [

  • code string

    Possible values: [ACCOUNT_NUMBER_MISMATCH, AUTH_PERSON_MISMATCH, BTN_ATN_MISMATCH, ENTITY_NAME_MISMATCH, FOC_EXPIRED, FOC_REJECTED, LOCATION_MISMATCH, LSR_PENDING, MAIN_BTN_PORTING, OSP_IRRESPONSIVE, OTHER, PASSCODE_PIN_INVALID, PHONE_NUMBER_HAS_SPECIAL_FEATURE, PHONE_NUMBER_MISMATCH, PHONE_NUMBER_NOT_PORTABLE, PORT_TYPE_INCORRECT, PORTING_ORDER_SPLIT_REQUIRED, PORTING_ORDER_SPLIT_REQUIRED, POSTAL_CODE_MISMATCH, RATE_CENTER_NOT_PORTABLE, SV_CONFLICT, SV_UNKNOWN_FAILURE]

    Identifier of an exception type

    description string

    Description of an exception type

  • ]

  • value string

    Possible values: [draft, in-process, submitted, exception, foc-date-confirmed, ported, canceled, cancel-pending]

    The current status of the porting order

    support_key string

    A key to reference this porting order when contacting Telnyx customer support. This information is not available in draft porting orders.

    parent_support_key string

    A key to reference for the porting order group when contacting Telnyx customer support. This information is not available for porting orders in draft state

    porting_phone_numbers_count integer

    Count of phone numbers associated with this porting order

    old_service_provider_ocn string

    Identifies the old service provider

    documents

    object

    loa uuid

    Returned ID of the submitted LOA via the Documents endpoint

    invoice uuid

    Returned ID of the submitted Invoice via the Documents endpoint

    misc

    object

    type PortingOrderType

    Possible values: [full, partial]

    A port can be either 'full' or 'partial'. When type is 'full' the other attributes should be omitted.

    remaining_numbers_action string

    Possible values: [keep, disconnect]

    Remaining numbers can be either kept with their current service provider or disconnected. 'new_billing_telephone_number' is required when 'remaining_numbers_action' is 'keep'.

    new_billing_phone_number string

    New billing phone number for the remaining numbers. Used in case the current billing phone number is being ported to Telnyx. This will be set on your account with your current service provider and should be one of the numbers remaining on that account.

    end_user

    object

    admin

    object

    entity_name string

    Person Name or Company name requesting the port

    auth_person_name string

    Name of person authorizing the porting order

    billing_phone_number string

    Billing phone number associated with these phone numbers

    account_number string

    The authorized person's account number with the current service provider

    tax_identifier string

    European tax identification number. Applicable only in the European Union

    pin_passcode string

    PIN/passcode possibly required by the old service provider for extra verification

    business_identifier string

    European business identification number. Applicable only in the European Union

    location

    object

    street_address string

    First line of billing address

    extended_address string

    Second line of billing address

    locality string

    City or municipality of billing address

    administrative_area string

    State, province, or similar of billing address

    postal_code string

    Postal Code of billing address

    country_code string

    ISO3166-1 alpha-2 country code of billing address

    activation_settings

    object

    foc_datetime_requested date-time

    ISO 8601 formatted Date/Time requested for the FOC date

    foc_datetime_actual date-time

    ISO 8601 formatted Date/Time of the FOC date

    fast_port_eligible boolean

    Indicates whether this porting order is eligible for FastPort

    activation_status PortingOrderActivationStatus

    Possible values: [New, Pending, Conflict, Cancel Pending, Failed, Concurred, Activate RDY, Disconnect Pending, Concurrence Sent, Old, Sending, Active, Canceled]

    Activation status

    phone_number_configuration

    object

    billing_group_id string

    identifies the billing group to set on the numbers when ported

    connection_id string

    identifies the connection to set on the numbers when ported

    messaging_profile_id string

    identifies the messaging profile to set on the numbers when ported

    emergency_address_id string

    identifies the emergency address to set on the numbers when ported

    tags string[]
    phone_number_type string

    Possible values: [landline, local, mobile, national, shared_cost, toll_free]

    The type of the phone number

    description string

    A description of the porting order

    requirements

    object[]

    List of documentation requirements for porting numbers.

  • Array [

  • field_type string

    Possible values: [document]

    Type of value expected on field_value field

    field_value string

    identifies the document that satisfies this requirement

    requirement_type_id string

    Identifies the requirement type that meets this requirement

    record_type string

    Identifies the type of the resource.

  • ]

  • requirements_met boolean

    Is true when the required documentation is met

    user_feedback

    object

    user_rating integer

    Once an order is ported, cancellation is requested or the request is canceled, the user may rate their experience

    user_comment string

    A comment related to the customer rating.

    user_id uuid

    Identifies the user (or organization) who requested the porting order

    webhook_url uri
    record_type string

    Identifies the type of the resource.

    meta

    object

    phone_numbers_url string

    Link to list all phone numbers

401: Unauthorized

422: Unprocessable entity. Check message field in response for details.

Loading...