POST /number_orders
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/number_orders
Create Number Order.
Creates a Number Order to purchase numbers from the given provider configuration for an offer. Numbers are provisioned asynchronously after the order is created, and only proceed once the company is verified and can afford the numbers being purchased.
Params
| Param name | Description |
|---|---|
|
offer_id Optional Blank value allowed |
The offer the ordered numbers will be assigned to.
|
|
ring_pool_id Optional Blank value allowed |
The number pool the ordered numbers will be added to.
|
|
traffic_source_id Optional Blank value allowed |
The traffic source the ordered numbers will be assigned to.
|
|
schedule_id Optional Blank value allowed |
The schedule the ordered numbers will be assigned to.
|
|
name Optional Blank value allowed |
The name of the number order.
|
|
description Optional Blank value allowed |
A description of the number order.
|
|
provider_configuration_id Optional Blank value allowed |
The provider the numbers will be purchased from.
|
|
paused Optional Blank value allowed |
Pause the order so it stops purchasing numbers.
|
|
fallback_to_any_number_in_state Optional Blank value allowed |
When no number is available with the requested prefix, allow purchasing any available number in the same state.
|