Order Items
Preview the refund of an order item cancellation
Changed onWhat cancelling the item would refund and how it would split between card and team credits, with the last four digits of the card. Writes nothing.
get/admin/order-items/{order_item_id}/refund-quote
Request
- Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
- URL: https://api.presscart.com/admin/order-items/{order_item_id}/refund-quote
- Auth: HTTP bearer
Path parameters
order_item_idstring uuid required
Example:478b54fd-2fd7-4418-8711-f5adc05990e0
Query parameters
refund_method'CARD' | 'CREDITS'
Where the refund would go; credits when left out.
Example:CARD
Response
The refund the cancellation would make
Example response
{
"amount": 500,
"card": 300,
"credits": 200,
"card_last4": "4242"
}Changes
- info
endpoint added
- info