OrderFeeDefinition

A single order fee definition.

More info: see the get operation and the order fee definitions endpoint.

Fields

FieldDescription
id
int 
(required)

Unique ID

Example value:123
typeid
int 
(required)

Type of the order fee. Can be Automatic (2401), Script (2402) or Manual (2403)

Example value:2401
name
mlstring 
(required)

Name for the order fee

Example value:"Payment cost"
rule
OrderfeeRule 
(required)

Definition of the rule that defines when the order fee will be applied

Example value:{ "auto": [ { "paymentscenarioids": [ 2 ], "status": "percentagefee", "value": 3.000000 } ] }
isarchived
bool 
(required)

Whether or not this item is archived

archivedts
timestamp 
(required)

Archived timestamp

Example value:"2014-09-26 15:24:36"
createdts
timestamp 
(required)

Created timestamp

Example value:"2014-09-26 15:24:36"
lastupdatets
timestamp 
(required)

Last updated timestamp

Example value:"2014-09-26 15:24:36"

Example

 1{
 2    "id": 123,
 3    "typeid": 2401,
 4    "name": "Payment cost",
 5    "rule": {
 6        "auto": [
 7            {
 8                "paymentscenarioids": [ 2 ],
 9                "status": "percentagefee",
10                "value": 3.000000
11            }
12        ]
13    },
14    "isarchived": false,
15    "archivedts": "2014-09-26 15:24:36",
16    "createdts": "2014-09-26 15:24:36",
17    "lastupdatets": "2014-09-26 15:24:36"
18}