Issue a seller-initiated refund for one or more order lines
Issue a seller-initiated refund for one or more order lines
Walmart-specific write — no Amazon SP-API Orders v0 equivalent
(Amazon refunds live in the Finance API). Mirrors
gmp-orders-mono's legacy `/partner-api/{market}/v3/orders/{po}/refund`
contract, simplified for the v4 surface: a flat `orderLines[]` with
per-line refund amount + reason instead of the legacy three-level
nesting (`orderLines → refunds → refundCharges`).
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
purchaseOrderId
Request
This endpoint expects an object.
orderLines
Response
Success
purchaseOrderId
refundId
Seller-visible refund handle, generated server-side. Stable for the lifetime of the refund; future GET endpoints will accept it as a path variable.
refundedAt
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error