- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
CreateOrderExchangeDTO
The exchange to be created.
order_id
stringThe associated order's ID.
return_id
stringOptionalThe associated return's ID.
claim_id
stringOptionalThe associated claim's ID.
exchange_id
stringOptionalThe associated exchange's ID.
description
stringOptionalThe description of the action.
internal_note
stringOptionalThe internal note of the action.
reference
stringOptionalThe name of the data model the action
references. For example,
return
.reference_id
stringOptionalThe ID of the record of the data model
specified in reference.
For example, if
reference
is return
, the
value is return_123
.metadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
The items to be sent to the customer.
The shipping methods used to send the additional items
to the customer.
The shipping methods used to return items from the customer.
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.
- 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.
allow_backorder
booleanOptionalWhether backorder is allowed for the exchange's items.
no_notification
booleanOptionalWhether the customer should receive notifications related to
updates on the exchange.
created_by
null | stringOptionalThe id of the user that creates the order exchange
Was this page helpful?