Jump to content

I would like to show all invoice list throughout api


Recommended Posts

Posted

Can you help me what will be the correct line(that is line number 6 in my complete source code below), if i would like to show the all invoice data throughout the api,
$response = $api->get("invoices", "get", array('user_id' => 1));

This is my complete source code below,

require_once "blesta_api.php";
$user = "api_user";
$key = "api_key";
$url = "http://dev.cloudnordicadmin.com.tikweb.dk/api/";
$api = new BlestaApi($url, $user, $key);
$response = $api->get("invoices", "get", array('user_id' => 1));
print_r($response->response());
print_r($response->errors());

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...