-
Notifications
You must be signed in to change notification settings - Fork 86
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
get order comment via API call #15
Comments
I had a quick look, and it currently doesn't seem possible to retrieve the comment using API. Let me know if you still need this functionality. I'll be able to make some time next week to add this functionality there is still a need for it. |
Hi, |
hi @affirmative-pl , |
hi @boldsidney, |
hi @affirmative-pl , The comment limit functionality should now work as you described and the comment is now visible through the /V1/orders/{id} route of the salesOrderRepositoryV1 API. |
Thanks @boldsidney |
Hi @boldsidney |
hi @affirmative-pl , |
Hi @boldsidney Our client Nutri-gold has your addon and I believe they're the ones who requested this functionality. Within our product, Zynk, we're making a request to the GET /index.php/rest/default/V1/orders Magento endpoint but within the data we're receiving from the website the field 'bold_order_comment' doesn't appear within the extension attributes collection within the raw JSON data we receive from their site.
|
hi @andrewbgittus, That looks like the GET /V1/orders call, to display a list of orders. If the GET /V1/orders/{id} isnt usable for your workflow i could look into also adding it to the list view GET /V1/orders later at the end of this week. |
That's definitely the cause of the issue, within Zynk we use the /index.php/rest/default/V1/orders endpoint as it means within integrations we can essentially request new orders without knowledge of the increment_id and then process these orders into the relevant system. Thanks @boldsidney I'll pass this onto the client. |
Hi @boldsidney Thank you very much for the module, it works great. |
I have a pull request open for this: #18 |
Hi @danslo thank you for building this feature. @andrewbgittus , @dcabrejas |
Thanks @danslo @boldsidney |
Is it possible to download order comment using API?
I'm not an expert unfortunately, but the company that develops an application for me, claims it is not possible, making this module not feasible for my system.
Could you please confirm if this attribute is visible to API calls?
Many thanks!
Kate
The text was updated successfully, but these errors were encountered: