Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Feedback for “Adjustments” #2126

Description

@DaveTD

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions