Process a return for an order (Shopify)

Processes a return: confirms the items received, decides what happens to them (restock or not), fulfills exchange items and refunds the customer.

  • Send at least one of items, exchangeItems, refund or refundShipping.
  • A call with only refund refunds a return processed earlier without a refund, even when it is already CLOSED.
  • EcartAPI does not compute refund amounts; it refunds exactly the amount you send.
  • Shopify closes the return asynchronously: the response can still say OPEN. Read the return again or wait for the returns webhook.

See the Shopify returns guide.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Order id.

string
required

Return id (return.id).

Body Params
returnProcess
object
required

At least one of items, exchangeItems, refund or refundShipping.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json