Refund Itemβ
Exampleβ
{
"id": "10001",
"description": "Shoes",
"unitPrice": 95,
"quantity": 1,
"vat": 25,
"type": "purchase"
}
Propertiesβ
| Property | Explanation | Type | Notes |
|---|---|---|---|
| id | Article id of the product | string | Max 50 characters |
| description | Description of the product | string | Max 50 characters |
| unitPrice | Price per product unit. Including VAT | number | Max 2 decimals. Should be negative when adding a fee |
| vat | VAT rate | number | Not required. Defaults to zero. Set it on fees and discounts you add when refunding |
| quantity | Quantity per product | number | Integers only |
| type | Whether the row refunds a purchase, or adds a fee, a discount, or a replacement | string | Not 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.