Solved

When updating InventoryLevel with the admin API how do I update Adjustment History title

peterasmith
Tourist
7 1 2

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

Accepted Solution (1)

Kalen_Jordan
Shopify Partner
446 15 64

This is an accepted solution.

Replies 3 (3)

Kalen_Jordan
Shopify Partner
446 15 64

This is an accepted solution.

peterasmith
Tourist
7 1 2

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.

Kalen_Jordan
Shopify Partner
446 15 64

Sweet yeah graphql is definitely the future (and present!)

Kalen Jordan
Platform Advocate
MESA - Shopify Automation You've Love