Shipping Fee
Smart Transaction
{
// ...
"basket"
: {
"products"
: [
{
"item_type"
:
"sub_transaction"
,
// ...
"sub_basket"
: [
// ...
{
"id"
: 1000,
"item_type"
:
"shipping"
,
"name"
:
"Standard delivery 2-3 days"
,
"quantity"
: 1,
"priceOne"
: 350,
"tax"
:
"19"
},
// ...
]
}
]
},
// ...
}
These are the fields:
Attribute |
Type |
Description |
item_type |
string |
Must be shipping. |
id |
int |
Unique ID as handle for later changes. |
desc |
string |
Shipping option name. |
quantity |
number |
Item count (usually 1). |
priceOne |
number |
Gross unit amount. This is the value of the coupon. |
tax |
number |
The value-added tax (VAT) rate in percent (usually 19). |