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.

In pins 13
  • type
    value

    The type of product bought, for example, a physical or a digital product.

  • category
    value

    The category of product bought.

  • name required
    value

    A description of the order line, for example LEGO 4440 Forest Police Station.

  • quantity required
    number

    The number of items in the order line.

  • unit price required
    number

    The price of a single item including VAT in the order line.

  • discount amount
    number

    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.

  • total amount required
    number

    The 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.

  • vat rate required
    value

    The 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.

  • vat amount required
    number

    The amount of value-added tax on the line. The total_amount field includes VAT.

  • sku
    value

    The SKU, EAN, ISBN or UPC of the product sold. The maximum character length is 64.

  • product url
    value

    A link pointing to the product page in your web shop of the product sold.

  • image url
    value

    A link pointing to an image of the product sold.

  • meta data
    object

    Meta data for this payment (e.g. guid of order)

Out pins 1
  • lines
    linesmollieconnection

A typical wiring for template: value feeds the name pin; number feeds the quantity pin; number feeds the unit_price pin; number feeds the total_amount pin; value feeds the vat_rate pin; number feeds the vat_amount pin; the lines out pin feeds create.

Studio canvas example for the template block: typical wiring for template.

Version history

Introduced in v10.4.28.


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