Skip to main content

Refund Walmart Return

POST 

/api/walmart/:integrationInstance/returns/:return/refund

Issue a refund against a Walmart Marketplace return order. Without a request body, every returned line is refunded at its full quantity. To refund only specific line(s) or quantities, send an optional lines array — each item has returnOrderLineNumber (integer, required) and quantity (integer ≥ 1, required). Reflects the refund status locally.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

WFS-fulfilled returns are settled by Walmart and cannot be refunded here; attempting to refund one (or any Walmart-side failure) returns a 422 with the failure reason. The return must belong to the integration instance in the path (404 otherwise).

Requires a Bearer token.

When Walmart rejects the refund, the message carries Walmart's own reason (for example "Refund already issued for return order line 2") rather than its raw error envelope, so it can be shown to an end user as-is.

Request

Responses

OK

Response Headers
    Content-Type