Comments (5)
I updated the readme with some information on how to use query parameters. Please update your installation.
But try and open a new issue when asking additional questions!
from laravel-lightspeed-retail-api.
At the moment there is no stable version of this package.
To what minimum version setting is your composer.json
set? It should be atleast "minimum-stability": "alpha"
from laravel-lightspeed-retail-api.
Ok now everything work. Wow nice job !
I already get my token and do some basic query with the Item and category ressource.
For now everything work great and I must say you did a pretty good job... Congrats!
I think right now ressources are only read only? Did you plan to allow ressource create/update in the future?
I plan to use this module in my company and if we do so, I would like to make a contribution to you. You will save us many many hours of dev time...
Keep the good work !
from laravel-lightspeed-retail-api.
You can create and update resources too! For example, if you'd like to update a category:
LightspeedRetailApi::api()->category()->update(123, ['name' => 'foobar']);
At the moment there aren't many LS retail resources availabable, but you can always directly call them.
For example if you'd like to call the above API call directly:
LightspeedRetailApi::api()->put('Category', 123, ['name' => 'foobar']);
Mind the capitalization of Category
.
All resources in the documentation are supported.
from laravel-lightspeed-retail-api.
Great ! With the direct access ex. get('Sale') I am able to read all my ressources... cool :-)
I even create a new entry with a post and it work well.
Also, was wondering if It is possible to do a search other than by id? ex. all item with a catagoryID = 180 ?
Something like that : LightspeedRetailApi::api()->Item()->where('categoryID', 180)->get());
Last but not least, LightSpeed limit the number of returns to 100 items pers requests. What we do if we need all the items in ressource? We do a loop? But I think LightSpeed have a max numbers of requests so a pause (or multiples pause) will be needed somewhere during those request?
Keep the good work...
from laravel-lightspeed-retail-api.
Related Issues (8)
- Installation under Laravel 8 HOT 2
- Only One Relation Query is Accepted in getAll() Method HOT 1
- The redirect route after adding the access token is not the new Laraval default redirect
- Update to V3 (V2 support ends on may 1st, 2023)
- new release HOT 1
- Add pagination options for API v3
- syntax error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-lightspeed-retail-api.