OrderfeeAutoRule
More info about order fees can be found here.
Fields
Field | Description |
---|---|
deliveryscenarioids
int[]
|
The delivery scenarios that this order fee is applicable for. If not set it defaults to ‘all’. This is only needed if the order fee type is set to automatic. Example value:[ 1 ] |
paymentscenarioids
int[]
|
The payment scenarios that this order fee is applicable for. If not set it default to ‘all’. This is only needed if the order fee type is set to automatic. Example value:[ 1 ] |
saleschannelids
int[]
|
The sales channels that this order fee is applicable for. If not set it defaults to ‘all’. This is only needed if the order fee type is set to automatic. Example value:[ 1 ] |
status
string
|
Can be "fixedfee" |
value
decimal
|
The value (amount) that will be added to the order. Is required if the order fee type is set to automatic. Example value:1.000000 |
Example
1{
2 "deliveryscenarioids": [ 1 ],
3 "paymentscenarioids": [ 1 ],
4 "saleschannelids": [ 1 ],
5 "status": "fixedfee",
6 "value": 1.000000
7}