Skip to main content
POST
Mark an order refunded

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Path Parameters

id
string
required

The order's id (Mongo ObjectId).

Body

application/json
notes
string

Replaces the order's notes, as the cancel endpoint does.

Maximum string length: 2000

Response

The updated, fully populated order.

Standard Salesive response envelope. The operation-specific payload is carried in data.

status
integer
required

HTTP status code, echoed in the body.

success
boolean
required

Whether the request succeeded.

message
string
required

Human-readable result message.

data
object

A fully populated order as returned by the get-by-id and update endpoints.