All things Shopify and commerce
I'm using the Admin REST API to adjust the inventory level of variants using these endpoints:
https://shopify.dev/docs/api/admin-rest/2023-10/resources/inventorylevel
I was hoping there would be an option when updating the inventory to pass the "Reason" code with it (e.g. Correction, Count, Received etc)
The updates I make using the API appear in the Adjustment History log as simply "Manual Adjustment".
I'd love to be able to tag each adjustment I make with a reason code but I can't see any endpoints which support this. Does anybody know if this is possible - is there a different endpoint I can use to achieve this?
Thanks
Solved! Go to the solution
This is an accepted solution.
This is an accepted solution.
Thanks - yes I've managed to get it working with GraphQL.
Surprised the same options aren't available in REST, but I guess I aught to be migrating my REST stuff towards GraphQL anyways.
Sweet yeah graphql is definitely the future (and present!)
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025