Assign Expiration LOT on Purchase order creation


I just need an API to assign a LOT for each line item on purchase order creation. Is there a way to achieve it?


Hey @Venkatesh,

Thanks for reaching out!

At the moment I don’t believe it is possible to assign a lot for line items within purchase_order_create.
I’ll go ahead and pass along that feedback to the team.

Please let me know if you have any question or concerns.


Hi @Rayanp, I am able to see the functionality in > Purchase Orders. Is it possible to perform the same operation through API?

The below-attached screenshot is for your reference.

Hey @Venkatesh,

Thanks for hanging in there.

That functionality is not currently available through any of our purchase order mutations via the Public API.

While not being able to replicate this functionality through our purchase order mutations, we can replicate it by creating a lot then assigning it to a location and then transfer the inventory there. Would this work for your use case?

Please let me know if you have any questions or concerns!