Wholesale

Repoint where a number delivers

Changes the delivery destination of an existing wholesale number — same deliverTo forms as ordering, resolved against the known number. Clearing delivery is not allowed: a wholesale number with no destination silently drops every call.

patch/api/v1/wholesale/numbers/{id}/delivery

Request

  • Base URL: https://api.callnode.io
  • URL: https://api.callnode.io/api/v1/wholesale/numbers/{id}/delivery
  • Auth: API key in header X-Api-Key and API key in header X-Timestamp and API key in header X-Signature

Path parameters

idstring required

The number's id (from the order response or your numbers list).

Request body

deliverTostring required

Example request

{
  "deliverTo": "sbc2.example.com"
}

Response

Delivery updated.

phoneNumberstring

Plus sign followed by 7–15 digits.

deliverTostring

Example response

{
  "phoneNumber": "+16135551234"
}

Changes

No recorded changes to this operation across all 1 revision of this API.