Search found 14 matches
- 10 Oct 2022, 05:20
- Forum: Help
- Topic: JsonAPI get all products from a supplier
- Replies: 3
- Views: 893
Re: JsonAPI get all products from a supplier
Thank you very much for your response.
Would there be any risk in updating our Aimeos version? Like, did any database structure change? I have a pretty extensive custom API I made and I worry it will all break if there are any collumns removed or renamed etc.
Thanks again!
Would there be any risk in updating our Aimeos version? Like, did any database structure change? I have a pretty extensive custom API I made and I worry it will all break if there are any collumns removed or renamed etc.
Thanks again!
- 07 Oct 2022, 12:25
- Forum: Help
- Topic: JsonAPI get all products from a supplier
- Replies: 3
- Views: 893
JsonAPI get all products from a supplier
Hello, our AIMEOS version is 2021.04 and we run PHP 7.4.3. I've been using Aimeos pretty successfully, but I have ran into a roadblock. I need to make an API call to retrieve all products of a certain supplier. If I want to retrieve a single product, I make this call: "https://MYURL/admin/defau...
- 15 Feb 2022, 09:44
- Forum: Help
- Topic: Add product stock through API
- Replies: 2
- Views: 714
Re: Add product stock through API
Thank you very much. It didn't work for me, but I will try again since now I know that it should work and the problem is on my side.
Thanks again!
Thanks again!
- 14 Feb 2022, 10:38
- Forum: Help
- Topic: Add product stock through API
- Replies: 2
- Views: 714
Add product stock through API
Hello, I have asked a few questions regarding the Aimeos JSON API and you've always been helpful here, so here I am again. I use a call to the Aimeos API like this to create a text: https://MYURL/admin/default/jsonadm/text?_token=" + csrf with JSON body like this: "{ """data...
- 13 Jan 2022, 11:03
- Forum: Laravel package
- Topic: Product pictures do not show in frontend. HTTP issue.
- Replies: 4
- Views: 1222
Re: Product pictures do not show in frontend. HTTP issue.
That did it!
I had the whole row missing in .env
Thank you!
I had the whole row missing in .env
Thank you!
- 10 Jan 2022, 09:03
- Forum: Laravel package
- Topic: Product pictures do not show in frontend. HTTP issue.
- Replies: 4
- Views: 1222
Re: Product pictures do not show in frontend. HTTP issue.
Thank you for your reply.
In the src/default.php file I have the following:
Where do I set the ASSET_URL if I want to use that instead of the config('app.url')?
Thank you so much.
In the src/default.php file I have the following:
Where do I set the ASSET_URL if I want to use that instead of the config('app.url')?
Thank you so much.
- 09 Jan 2022, 16:29
- Forum: Laravel package
- Topic: Product pictures do not show in frontend. HTTP issue.
- Replies: 4
- Views: 1222
Product pictures do not show in frontend. HTTP issue.
Hello, when I create a product in the backend and add a picture to it I can see the picture in the backend no problem. However in the frontend I get an error: Mixed Content: The page at 'https://my.page.com/shop/ProductsCategory~4' was loaded over HTTPS, but requested an insecure image 'http://my.pa...
- 29 Jul 2021, 07:21
- Forum: Help
- Topic: CSRF mismatch when creating item through JsonAPI
- Replies: 6
- Views: 9839
Re: CSRF mismatch when creating item through JsonAPI
The CSRF token must be passed as GET/POST parameter named "_token", not as cookie Thanks for the repsonse! Yes, I use the token as https://url.url?_token=TOKENSTRING. But that never worked for me, so I was trying something else. I have now disabled the csrf in the VerifyCsrfToken.php and ...
- 27 Jul 2021, 09:58
- Forum: Help
- Topic: CSRF mismatch when creating item through JsonAPI
- Replies: 6
- Views: 9839
Re: CSRF mismatch when creating item through JsonAPI
Hello again,
I have used the cookies from the OPTIONS call and still get the CSRF token mismatch error. Here is what I pass in parameters:
And here is the body I pass to the API:
What am I doing wrong? Thank you!
I have used the cookies from the OPTIONS call and still get the CSRF token mismatch error. Here is what I pass in parameters:
And here is the body I pass to the API:
What am I doing wrong? Thank you!
- 14 Jul 2021, 12:46
- Forum: Help
- Topic: CSRF mismatch when creating item through JsonAPI
- Replies: 6
- Views: 9839
Re: CSRF mismatch when creating item through JsonAPI
Thank you for the reply! How would I obtain the cookie? The login endpoint response doesn't return it.