> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "ReturnShopify"
---

## Fields

***

<ParamField path="marketplace" type={<a href="/api-reference/marketplace">Marketplace!</a>} required>
  Marketplace where the order was placed. See the [Marketplace](/api-reference/marketplace) for more information.
</ParamField>

<ParamField path="returnId" type="ID!" required>
  Return id generated by Rye for the returned order
</ParamField>

<ParamField path="orderId" type="ID!" required>
  Shopify order id in amazon.
</ParamField>

<ParamField path="lineItems" type={<a href="/api-reference/shopifyreturnlineitem">[ShopifyReturnLineItem!]!</a>} required>
  Array of line items being returned. See the [ShopifyReturnLineItem](/api-reference/shopifyreturnlineitem) for more information.
</ParamField>

## Related types

* [`ReturnOrder`](/api-reference/returnorder-object)


---

*Powered by [holocron.so](https://holocron.so)*
