> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RedoFunctionTargetType

> The kind of setting a function is attached to.

| Value | Description |
| - | - |
| `CUSTOMS_LINE_ITEMS` | Transforms a cart's line items into the line items that should run for customs. May drop rows (e.g. \$0.00 add-ons), adjust declared value / HS code / country of origin, or inject synthetic items not present in Shopify. Runs both at checkout (duty quote) and at fulfillment (commercial invoice). |
| `CUSTOM_RATE_TABLE` | Produces a single shipping-method rate at checkout from cart + destination. Prefer FIXED or DYNAMIC rate tables when they can express the desired rate; CUSTOM adds a per-checkout redojs invocation roundtrip. |
| `EXCHANGE_ORDER_CREATION` | Customizes tags, notes, note attributes, and line item properties when Redo creates a Shopify exchange order or draft order. |
| `MARKET_LISTING` | Decides how a variant is listed into a destination country: whether it may be sold there, and at what price. Runs once per variant per country, and receives the compliance screening verdict, the landed cost quoted for the lane, the market's pricing policy, and the price Redo calculated. Returning nothing leaves Redo's decision in place. |
| `MINTSOFT_RMA_FUNCTION` | Changes the Mintsoft RMA after Redo builds it from the integration settings and before Redo sends it. It receives the return, its order, and the RMA, and returns the full RMA plus any fields it removed. |
| `NETSUITE_ORDER_MAPPING` | Updates the merchant's raw NetSuite sales order before Redo converts it into the standard order format. It receives and returns the complete raw NetSuite order, then Redo runs its normal order transformation and validation. |
| `NETSUITE_RMA_FUNCTION` | Changes the NetSuite RMA after Redo builds it from the integration settings and before Redo sends it. It receives the return, its order, and the RMA, and returns the full RMA plus any fields it removed. |
| `OMS_AUTOMATION_CODE_STEP` | A code-authored step in an OMS automation. Takes order and fulfillment context (narrowed by the step's selector) and returns a sequence of actions to enqueue. |
| `ORDER_RETURN_INFO` | Runs when a return is ready, once per Shopify order. It returns the order metafields Redo writes, in place of the default redo.return\_info metafield. |
| `ORDER_SYNC` | Runs before Redo syncs an order from an external system. It can skip the order or change its fields. |
| `RETURN_ADJUSTMENT` | Computes the price adjustment for an item on a return-flow Return step, replacing the manually configured adjustment for each compensation method that opts in. |
| `SUPPORT_CUSTOM_ACTION` | A code-authored support-ticket rule action. Receives the affected ticket (narrowed by the step's selector) and returns a sequence of actions to run. |
| `TRACKSTAR_NIMBLE_RMA_FUNCTION` | Changes the Nimble (Trackstar) RMA after Redo builds it from the integration settings and before Redo sends it. It receives the return, its order, and the RMA, and returns the full RMA plus any fields it removed. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.