Web API (official plugin)

2 months ago
Hi. Unfortunately, we do not have complete documentation for working with this plugin, since it was intended as a product for developers. You can easily see the operating logic in the method code you need. From the code, you can also easily understand which keys it accepts. In the case of UpdateCart, it is expected that you will pass new data for the entire cart, that is, if there are three products in your cart, then all three of them must participate either as parameters for the removefromcart key or as keys of the itemquantity{ShoppingCartItem.Id} format

NXTSHOP wrote:
Api: POST api-frontend/ShoppingCart/UpdateCart
Expected behavior: edit the quantities of product in shopping cart or remove the item entirely
Problem: server responds with "message": "The given key 'itemquantity39' was not present in the dictionary."
Question: I cannot find any docs listing all the required keys in the request body. Could you provide a request example on how to use this api?
2 months ago
Hello. Our client is on NopCommerce 4.50.2. They purchased this plugin of which we have been working with for integration. I came across a bug in the `SpecificationAttributeOptionController` within method `GetSpecificationAttributeOptionsByIds`. This endpoint is incorrectly trying to cast to the `CategoryDTO` (it should be `SpecificationAttributeOptionDTO`) thus resulting in an automapper error.

I'm not able to see if newer versions have corrected this, but wanted to report it. Hope this helps. Thanks.
2 months ago
Hi. Thank you very much for bringing this issue to our attention, we will fix it in the next release for 4.60. also, please pay attention to the same problem in the GetFiltrableSpecificationAttributeOptionsByManufacturerId method of the same controller

AustinAtClarity wrote:
Hello. Our client is on NopCommerce 4.50.2. They purchased this plugin of which we have been working with for integration. I came across a bug in the `SpecificationAttributeOptionController` within method `GetSpecificationAttributeOptionsByIds`. This endpoint is incorrectly trying to cast to the `CategoryDTO` (it should be `SpecificationAttributeOptionDTO`) thus resulting in an automapper error.

I'm not able to see if newer versions have corrected this, but wanted to report it. Hope this helps. Thanks.
5 days ago
Hi,
I am a developer using your API. Our company have already purchased this plugin and we are using it on our live site, however I need to do some development testing on my local machine but I keep getting error from postman saying that "Warning: Unable to verify the first certificate." I think it's authentication issue. I simply changed the environment base URL from our live site to my local address. Hope someone can help me with this problem. Thanks a lot.

Charles
4 days ago
Hi,
There are several ways to solve the certificate issue in Postman. First, you can try to bypass certificate validation by adding an option to Postman settings. Second, you can add a missing certificate to the Postman certificate storage. And third, you can install and configure a trusted certificate on the server that Postman is working with.

For more information, see this article.

ypc1101 wrote:
Hi,
I am a developer using your API. Our company have already purchased this plugin and we are using it on our live site, however I need to do some development testing on my local machine but I keep getting error from postman saying that "Warning: Unable to verify the first certificate." I think it's authentication issue. I simply changed the environment base URL from our live site to my local address. Hope someone can help me with this problem. Thanks a lot.

Charles
2 days ago
Hi,
Thanks for replying. I have tried turning off` all the certificate verification in Postman and no SSL is required since the database is local. However, I still keep encountering the issue. I will attach some screenshots during my work.
Here is my current setting in Postman:
https://1drv.ms/i/c/33088de37c3cff5b/EZV8ES5jGNtDhE4GVJ03CVwBcXUzJfydr17PQXGg7ydkAA?e=zy6AFV
https://1drv.ms/i/c/33088de37c3cff5b/Ee0yZMX27cxNlC93zNB-t8IBHjpqImNBGjAlUDgVZto4ZQ?e=hcOoK1
Here is the result page I got after running the test:
https://1drv.ms/i/c/33088de37c3cff5b/ERMVKZt6r0RKvj5yYtVMuR4BDynt1AYd1Bh6cii7GhDEbQ?e=8PkSo6
Here is the message in console:
https://1drv.ms/i/c/33088de37c3cff5b/ETdKST0lG8JGt8EiLtCDDfsB7c5oePNpPVJqVp9rL4_rrw?e=moyyHR
Could you please maybe help me find out what I did wrong in this process? Thanks a lot!
 
DmitriyKulagin wrote:
Hi,
There are several ways to solve the certificate issue in Postman. First, you can try to bypass certificate validation by adding an option to Postman settings. Second, you can add a missing certificate to the Postman certificate storage. And third, you can install and configure a trusted certificate on the server that Postman is working with.

For more information, see this article.

Hi,
I am a developer using your API. Our company have already purchased this plugin and we are using it on our live site, however I need to do some development testing on my local machine but I keep getting error from postman saying that "Warning: Unable to verify the first certificate." I think it's authentication issue. I simply changed the environment base URL from our live site to my local address. Hope someone can help me with this problem. Thanks a lot.

Charles