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ā
{}