Refund order
Create a refund against an order. An order can only be refunded once, regardless of whether the order is partially or fully refunded.
Path parameters
connectionId
represents the ID of a connection. It is used as a unique identifier for the connection
orderId
the id of the order to refund against
Headers
X-API-KEY
Request
This endpoint expects an object.
items
represents the items of the refund request, if an empty lists or no lists is passed it is assumed the entire order will be refunded.
returnedDate
include only if this return is a change to a previously filed sales tax return, will trigger an Amended Sales Tax Return. (Not typically recommended to include.)
Response
Created
connectionId
represents the ID of a connection. It is used as a unique identifier for the connection
items
createdDate
represents the time when the refund was created.
returnedDate
represents the time when the refund took effect.