Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added InventoryItem and InventoryLevel to SDK #46

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3bcc437
add inventory interface to api
JelleDijkhuizen Sep 16, 2020
8bd52ab
bumped default api version
JelleDijkhuizen Sep 18, 2020
163ef87
fixed typo
JelleDijkhuizen Sep 21, 2020
de5abc3
fixed wrong index on iventory_item response
JelleDijkhuizen Sep 21, 2020
39fc198
fixed array to string conversion
JelleDijkhuizen Sep 21, 2020
e6c497f
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
c6f4de3
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
3fa3f8c
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
d188b05
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
7b32c74
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
4c34d37
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
9462f4c
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
5ba88ea
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
03ab477
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
ac03598
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
5f35683
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
b57d419
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
5328c2c
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
9e6fe1e
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
79c283a
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
46ee0f7
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
7d72fbd
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
36d5b5f
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
d50731c
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
0be3658
Update AbstractService.php
JelleDijkhuizen Sep 22, 2020
2fe7899
Fixed some typo's
JelleDijkhuizen Oct 13, 2020
dbc0415
Merge pull request #1 from Dijkma/debug
JelleDijkhuizen Oct 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update AbstractService.php
  • Loading branch information
JelleDijkhuizen committed Sep 22, 2020
commit d50731c6bb8e43029b1910d75832151a68fd1c3b
5 changes: 2 additions & 3 deletions src/Service/AbstractService.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,10 @@ public function send(Request $request, array $params = array())
$bodyContents,
true
);
var_dump(json_last_error(), json_last_error_msg());
$json_error = json_last_error();
var_dump($return);

$json_error = json_last_error();
if($json_error === JSON_ERROR_NONE){
var_dump($return);
if(is_null($return)){
return $bodyContents;
}
Expand Down