Types > OrderRiskCreate
Commerce APITypesOrderRiskCreate
OrderRiskCreate

Description

Topic: Order Risks

Fields

billing_address: OrderRiskBillingAddressCreate


display: Boolean

Display this score or not

Example: true


external: Boolean

Whether this score comes from an external service or from an internal one

Example: true


message: String

Message describing the problem with order

Example: ""

Valid when: message's length doesn't exceed 4096 characters


order_canceled: Boolean

If order was canceled or not by risk evaluation service

Example: false


risk_level: RiskLevel!

Risk level classification


score: Float!

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


Used By

Mutations

orderRisksCreate

Preview (typescript)

Loading module