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

Solved

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

peterasmith
Tourist
10 1 3

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
803 39 147
Replies 3 (3)

Kalen_Jordan
Shopify Partner
803 39 147

This is an accepted solution.

peterasmith
Tourist
10 1 3

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
803 39 147

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