- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateReturnsStep - Medusa Core Workflows Reference
This documentation provides a reference to the updateReturnsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates one or more returns.
Input#
UpdateReturnsStepInput
UpdateReturnsStepInputThe returns to update.
UpdateReturnsStepInput
UpdateReturnsStepInputid
stringThe ID of the return.
id
stringlocation_id
null | stringOptionalThe ID of the location to return the items to.
location_id
null | stringOptionalThe refund amount of the return.
no_notification
booleanOptionalWhether the customer should receive notifications related
to updates on the return.
no_notification
booleanOptionalclaim_id
stringOptionalThe associated claim's ID.
claim_id
stringOptionalexchange_id
stringOptionalThe associated exchange's ID.
exchange_id
stringOptionalmetadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
metadata
null | Record<string, unknown>Optionalitems
object[]OptionalThe items of the return.
items
object[]OptionalThe return's status.
requested_at
DateOptional
requested_at
DateOptionalWas this page helpful?