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

Feedback for “Adjustments” #2126

Open
DaveTD opened this issue Jan 2, 2024 · 0 comments
Open

Feedback for “Adjustments” #2126

DaveTD opened this issue Jan 2, 2024 · 0 comments
Assignees

Comments

@DaveTD
Copy link

DaveTD commented Jan 2, 2024

I'm mostly getting correct results for sending relative adjustments, but after I first set up a new product or variant, I get this 422 error when trying to do a relative adjustment:

Items with identity: [sku ...] requires absolute adjustment before relative

When I get this error, I can adjust the inventory by first doing an absolute adjustment, and then subsequent relative adjustments seem to start working.

However, this workaround doesn't really work when using multiple locations and I try to modify inventory levels for the same sku in multiple places. The error comes back as it does in the example above, and I can't tell which location needs absolute adjustment before I can make relative adjustments.

The workaround is also not ideal because I don't really want to make absolute adjustments.

Is there anything in the api that can tell me that I'm going to run into this error before I try to make a relative adjustment? Is there any information available as to why an absolute adjustment is needed before a relative one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants