ConfirmVariantInventoryWorkflowInputDTO

The details necessary to check whether the variant has sufficient inventory.

Properties#

sales_channel_idstring
The ID of the sales channel to check the inventory availability in.
variantsobject[]
The variants to confirm they have sufficient in-stock quantity.
itemsobject[]
The items in the cart, or to be added.
itemsToUpdateobject[]Optional
The new quantity of the variant to be added to the cart. This is useful when updating a variant's quantity in the cart.
Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break