UpdateOrderExchangeDTO

The attributes to update in the exchange.

idstring
The ID of the exchange.
difference_dueBigNumberInputOptional
The difference due of the exchange.
  • If less than 0, the merchant owes the customer this amount.
  • If greater than 0, the customer owes the merchange this amount.
  • If equal to 0, no payment is required by either sides.
no_notificationbooleanOptional
Whether the customer should receive notifications related to updates on the exchange.
returnstringOptional
The associated return's ID.
allow_backorderbooleanOptional
Whether backorders are allowed on the exchange's items.
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