Description
Save order risk evaluation to an order.
Permission bit: "order_risks.create"
Topic: Order Risks
Arguments
data: OrderRiskCreate!
Main argument for mutations.
Unique order identifier. See also: Unique Identifiers
Example: "or_EQzGqWoY"
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
billing_address: OrderRiskBillingAddressCreate
Display this score or not
Example: true
Whether this score comes from an external service or from an internal one
Example: true
Message describing the problem with order
Example: ""
Valid when: message's length doesn't exceed 4096 characters
If order was canceled or not by risk evaluation service
Example: false
risk_level: RiskLevel!
Risk level classification
Risk score, from 0.0 to 1.0, 0 is the lowest risk, 1 is maximum risk
Example: 0.0
Valid when: score is in range: 0.0 ≤ score ≤ 1.0
shipping: OrderRiskShippingCreate
shipping_address: OrderRiskShippingAddressCreate
Result
Preview (typescript)
Loading module