template
This block is part of the mollie group and was last modified in core v10.4.28.
template
v10.4.28
Creates a valid order line object that can be used within mollie.
| Pin | Pin | Type | Default |
|---|---|---|---|
| type The type of product bought, for example, a physical or a digital product. |
value |
||
| category The category of product bought. |
value |
||
namerequiredA description of the order line, for example LEGO 4440 Forest Police Station. |
value |
||
quantityrequiredThe number of items in the order line. |
number |
||
unit pricerequiredThe price of a single item including VAT in the order line. |
number |
||
| discount amount Any discounts applied to the order line. For example, if you have a two-for-one sale, you should pass the amount discounted as a positive amount. |
number |
||
total amountrequiredThe total amount of the line, including VAT and discounts. Adding all totalAmount values together should result in the same amount as the amount top level property. |
number |
||
vat raterequiredThe VAT rate applied to the order line, for example "21.00" for 21%. The vatRate should be passed as a string and not as a float to ensure the correct number of decimals are passed. |
value |
||
vat amountrequiredThe amount of value-added tax on the line. The total_amount field includes VAT. |
number |
||
| sku The SKU, EAN, ISBN or UPC of the product sold. The maximum character length is 64. |
value |
||
| product url A link pointing to the product page in your web shop of the product sold. |
value |
||
| image url A link pointing to an image of the product sold. |
value |
||
| meta data Meta data for this payment (e.g. guid of order) |
object |
| Pin | Pin | Type | Example |
|---|---|---|---|
| lines |
linesmollieconnection |
Core Releases
v10.4.28 This block was introduced inv10.4.28, click here to see the release notes.
Back to
mollie
Return to the main group to view all sub-groups
Back to order lines
Return to the group to view all blocks within this group