{{baseUrl}}/buying
POST {{baseUrl}}/buying
This endpoint allows you to purchase a certain number of company records found following the search.
Request Body
{"id_request"=>"<string>", "records"=>"<integer>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"data":{"_id":"5d4d799c0eb46d074f01947f","total_records":5379918,"records_found":51,"query":{"country_code":"IT","admin1_code":"IT.15","macro_id":1},"state":"accettato","owner":"test@api.altravia.com","base_price":0.24,"credit":3.5599999999999996,"date":"09/08/2019","download":"https://test.postontarget.com/download/4D7736","order_id":"4D7736","price":1.2,"records_purchased":"5"},"success":true,"message":"OK","error":null}