Ask, reply and learn. Join the community of Akaunting.
When i am calling api with parameter like below
URL:- http://localhost:8888/akaunting/api/items/1?company_id=1
Method:- PATCH
Body:- {
"name": "Jhon",
"sku": "JSHON23232",
"description": "Baby powder",
"sale_price": 12.56,
"purchase_price": 4.5,
"quantity": 1000,
"enabled": 1,
"company_id": 1,
"tax_id": null,
"category_id": null
}
Header:-
authorization: Basic
content-type:application/json
Result :-
Always return "No query results for model [App\Models\Common\Item]."
Please help if any one can help because i check middleware not calling so it's give me these error has any one get these issue
Hello Dhaval,
Does the GET method work?
Regards
I check it and solve my problem and only PUT & Delete method not working.
How did you solve your problem?
Showing 1 to 5 of 5 discussions