Update a number order
Updates an existing phone number order, for example to satisfy regulatory requirements attached to the order, and returns the updated order.
Path parameters
The number order ID.
Request body
Example request
{
"customer_reference": "MY REF 001",
"regulatory_requirements": [
{
"field_value": "45f45a04-b4be-4592-95b1-9306b9db2b21",
"requirement_id": "8ffb3622-7c6b-4ccc-b65f-7a3dc0099576"
}
]
}Response
Successful response with details about a number order.
Example response
{
"data": {
"billing_group_id": "abc85f64-5717-4562-b3fc-2c9600",
"connection_id": "346789098765567",
"created_at": "2018-01-01T00:00:00.000000Z",
"customer_reference": "MY REF 001",
"id": "12ade33a-21c0-473b-b055-b3c836e1c292",
"messaging_profile_id": "abc85f64-5717-4562-b3fc-2c9600",
"phone_numbers": [
{
"bundle_id": "bc8e4d67-33a0-4cbb-af74-7b58f05bd474",
"id": "dc8e4d67-33a0-4cbb-af74-7b58f05bd494",
"phone_number": "+19705555098",
"record_type": "number_order_phone_number",
"regulatory_requirements": [
{
"field_type": "address",
"field_value": "45f45a04-b4be-4592-95b1-9306b9db2b21",
"record_type": "phone_number_regulatory_requirement",
"requirement_id": "8ffb3622-7c6b-4ccc-b65f-7a3dc0099576"
}
],
"requirements_met": true,
"status": "success"
}
],
"phone_numbers_count": 1,
"record_type": "number_order",
"requirements_met": true,
"updated_at": "2018-01-01T00:00:00.000000Z"
}
}Changes
Changed in 2 of the 61 revisions of this API.20515
- ▲
the response property
errors/items/codebecame optional for the status400response-property-became-optional
- ▲
the response property
errors/items/codebecame optional for the status401response-property-became-optional
- ▲
the response property
errors/items/codebecame optional for the status404response-property-became-optional
- ▲
the response property
errors/items/codebecame optional for the status422response-property-became-optional
- ▲
the response property
errors/items/codebecame optional for the status500response-property-became-optional
- ▲
the response property
errors/items/titlebecame optional for the status400response-property-became-optional
- ▲
the response property
errors/items/titlebecame optional for the status401response-property-became-optional
- ▲
the response property
errors/items/titlebecame optional for the status404response-property-became-optional
- ▲
the response property
errors/items/titlebecame optional for the status422response-property-became-optional
- ▲
the response property
errors/items/titlebecame optional for the status500response-property-became-optional
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status400response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status401response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status404response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status422response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status500response-property-type-changed
- ○
added the optional property
errors/items/meta/urlto the response with the400statusresponse-optional-property-added
- ○
added the optional property
errors/items/meta/urlto the response with the401statusresponse-optional-property-added
- ○
added the optional property
errors/items/meta/urlto the response with the404statusresponse-optional-property-added
- ○
added the optional property
errors/items/meta/urlto the response with the422statusresponse-optional-property-added
- ○
added the optional property
errors/items/meta/urlto the response with the500statusresponse-optional-property-added
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status400response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status401response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status404response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status422response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status500response-property-type-changed
- ●
removed the optional property
errors/items/meta/urlfrom the response with the400statusresponse-optional-property-removed
- ●
removed the optional property
errors/items/meta/urlfrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
errors/items/meta/urlfrom the response with the404statusresponse-optional-property-removed
- ●
removed the optional property
errors/items/meta/urlfrom the response with the422statusresponse-optional-property-removed
- ●
removed the optional property
errors/items/meta/urlfrom the response with the500statusresponse-optional-property-removed
- ○
the response property
errors/items/codebecame required for the status400response-property-became-required
- ○
the response property
errors/items/codebecame required for the status401response-property-became-required
- ○
the response property
errors/items/codebecame required for the status404response-property-became-required
- ○
the response property
errors/items/codebecame required for the status422response-property-became-required
- ○
the response property
errors/items/codebecame required for the status500response-property-became-required
- ○
the response property
errors/items/titlebecame required for the status400response-property-became-required
- ○
the response property
errors/items/titlebecame required for the status401response-property-became-required
- ○
the response property
errors/items/titlebecame required for the status404response-property-became-required
- ○
the response property
errors/items/titlebecame required for the status422response-property-became-required
- ○
the response property
errors/items/titlebecame required for the status500response-property-became-required
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲