Jump to content

I would like to show all invoice list throughout api


Tikweb

Recommended Posts

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());

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...