createRefundRequest
Creating a refund request for an order. 🔐 This method requires authorization.
Description
This method creates a refund request for a specific order. It returns a Promise that resolves to an IOrdersEntity object.
Orders.createRefundRequest(
id*,
body*
);
Parameters schema
Schema
id(required): number
Order id
example: 1
body(required): ICreateRefundRequest
Refund request body
Examples
Minimal example
const response = await Orders.createRefundRequest(476, {});
Example response
{}