Skip to content
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

Make "reset stock" available in API calls #349

Open
MelvinAchterhuis opened this issue May 9, 2022 · 3 comments
Open

Make "reset stock" available in API calls #349

MelvinAchterhuis opened this issue May 9, 2022 · 3 comments
Labels
Feature Request New feature or request

Comments

@MelvinAchterhuis
Copy link

Currently the stock that gets reset in the refund manager isn't available in the API. For some warehousing / ERP systems this could be useful information, especially with Shopware and the stock / available stock calculations.

@boxblinkracer
Copy link
Collaborator

Hi there
it should actually be available.
do you know the integrated swagger project (screenshot)

you just need to provide the resetStock count and it should work :)

Screen Shot 2022-05-11 at 10 57 59

e

@boxblinkracer boxblinkracer added the Feature Request New feature or request label May 11, 2022
@MelvinAchterhuis
Copy link
Author

MelvinAchterhuis commented May 12, 2022

Nice. However we don't receive this data. Could be related to #348 because lineItems aren't correctly processed?

@boxblinkracer
Copy link
Collaborator

ah you mean in the GET of the data?
technically its just a parameter that you send in your POST, and then the plugin will reset the stock in shopware. mollie isnt really related in that case. so maybe a misunderstanding?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants