Skip to main content

Refund Item​

Example​

{
"id": "10001",
"description": "Shoes",
"unitPrice": 95,
"quantity": 1,
"vat": 25,
"type": "purchase"
}

Properties​

PropertyExplanationTypeNotes
idArticle id of the productstringMax 50 characters
descriptionDescription of the productstringMax 50 characters
unitPricePrice per product unit. Including VATnumberMax 2 decimals. Should be negative when adding a fee
vatVAT ratenumberNot required. Defaults to zero. Set it on fees and discounts you add when refunding
quantityQuantity per productnumberIntegers only
typeWhether the row refunds a purchase, or adds a fee, a discount, or a replacementstringNot required. purchase, fee, discount, or replacement. Defaults to purchase when omitted. See Replacement article

Reading an order first? The response uses different field names for the same values. See Sending an item back in a request.