action callfire_order_numbers { label: "Purchase numbers" description: "Purchase numbers. There are many ways to purchase a number. Set either 'tollFreeCount' or 'localCount' along with some querying fields to purchase numbers by bulk query. Set the list of numbers to purchase by list. Available numbers will be purchased using CallFire credits owned by the user. Make sure the account has enough credits before trying to purchase" provider: callfire method: POST path: "/orders/numbers" encoding: json input: { type: "object" properties: { city: { type: "string" description: "City of requested numbers" } fields: { type: "string" } localCount: { type: "integer" format: "int32" description: "Total count of local numbers requested" } numbers: { type: "array" description: "A list of phone numbers in E.164 format (11-digit) to buy. Example: 12132000384" items: { type: "string" } } prefix: { type: "string" description: "Country prefix of requested numbers" } promo: { type: "string" description: "~" } state: { type: "string" description: "A two-letter state code of requested numbers" } tollFreeCount: { type: "integer" format: "int32" description: "Total count of toll-free numbers requested" } zipcode: { type: "string" description: "A five-digit Zip code of requested numbers" } } additionalProperties: false } output: { type: "object" description: "An id of a resource" properties: { id: { type: "integer" format: "int64" description: "An id of a resource" } } } }