UpdateOrderItemDTO

The data to update in the order items.

idstring
The ID of the item.
order_idstringOptional
The associated order's ID.
versionnumberOptional
The version of the item.
item_idstringOptional
The associated item's ID.
quantityBigNumberInputOptional
The quantity of the item.
fulfilled_quantityBigNumberInputOptional
The fulfilled quantity of the item.
return_requested_quantityBigNumberInputOptional
The requested quantity of the item to be returned.
return_received_quantityBigNumberInputOptional
The quantity of the item received through a return.
return_dismissed_quantityBigNumberInputOptional
The dismissed quantity of the item through a return.
written_off_quantityBigNumberInputOptional
The quantity written off of the item due to an order change.
metadatanull | Record<string, unknown>Optional
Holds custom data in key-value pairs.
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