Create a Refund
This endpoint can be used to create a refund for an order.
Endpoint details
POST
/api/v1.0/orders/{id}/refund
Create an Order Refund
Creates a pending refund of the order with the specified amount
Path Parameters
id integer required
Request Headers
X-Thredup-Access-Token string required
Authentication token
Request Body
amount integer required
Example Request Body
{
"amount": 4995
}
Responses
Order refund initiated
Returns a OrderRefundCreateResponse object.
Example Response Body
{
"id": 3718
}
Unauthorized
No response body
This endpoint returns no response body for current status code.
Unprocessable entity
No response body
This endpoint returns no response body for current status code.