Search Services
Search Services on the customer account using various filters.
Request
- Base URLhttps://api.byteful.com/1.0
- AuthAPI key in header X-API-Private-Key and API key in header X-API-Public-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
ID of the service
Current status of the service
Name of the service
Type of the service
Protocol of the service
Quantity of the service
Payment method ID of the service
Total amount of the service
Service cycle (e.g., "1:month")
Datetime the service was dispatched
Datetime the service will expire
URL of the service image
If the service is set for automatic collection
If the service is pending cancellation
ISO Country Code (ISO 3166-1 alpha-2)
Price ID of the service
Product ID of the service
Promotional code of the service
Subscription ID of the service
Datetime the service was created
Datetime the service was last updated
If the proxies associated with the service should be returned
Number of items per page for pagination
Page number for pagination
Key for sorting or random.
Response
Successful Service search
Example response
{
"data": [
{
"country_id": "us",
"open_invoice_id": "inv_1OCNVFFKo7UQ3XWITWlqGWYQ",
"payment_method_id": "pm_1NjyqfB2BUlqim5l2LgRUo0a",
"service_creation_datetime": "2023-09-12 10:00:00",
"service_cycle": "1:month",
"service_dispatch_datetime": "2023-09-12 11:00:00",
"service_earliest_cancellation_datetime": "2023-09-12 12:00:00",
"service_expiry_datetime": "2023-10-12 10:00:00",
"service_id": "API-1234-5678",
"service_image": "https://apple.com/image.png",
"service_is_automatic_collection": true,
"service_is_pending_cancellation": false,
"service_last_update_datetime": "2023-09-12 12:00:00",
"service_metadata": {
"resell_customer_id": "APPL-9876-5432"
},
"service_name": "Premium ISP",
"service_promotional_code": "PROMO2023",
"service_protocol": "ipv4",
"service_quantity": 5,
"service_status": "active",
"service_subscription_id": "sub_1NpPVfB2BUlqim5lA374YoIh",
"service_subscription_is_paused": false,
"service_total": 100,
"service_type": "isp",
"subscription_schedule_id": "sub_sched_1OCNVFFKo7UQ3XWITWlqGWYQ"
}
],
"item_count": 1,
"message": "Service search successful.",
"page": 1,
"per_page": 10,
"total_count": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.