GET /number_orders/new

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/number_orders/new

Build Number Order with defaults.

Builds a Number Order with default attributes without saving it.

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.

  • Must be a String

description
Optional Blank value allowed

A description of the number order.

  • Must be a String

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.

  • Must be a boolean value: 1, true, yes, on, 0, false, no, off

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.

  • Must be a boolean value: 1, true, yes, on, 0, false, no, off