Skip to main content
Version: 202201

Update Order Risk

PUT 

/openapi/2022-01/orders/:order_id/risks/:id

Modifies the risk level, detail reasons, or custom properties of an existing risk record on the order. The record is located by its id; the order itself is unchanged.

Request

Path Parameters

    order_id stringrequired

    Order's ID

    id stringrequired

    Risk's ID

Body

    risk object
    levelstringrequired

    Risk level, such as: low, medium, high

    detailsstring[]required

    Risk details list

    properties object

    Custom properties

    keystring

    value

Responses

200

Schema
    risk object
    idstring
    Example: 372997190408224746
    order_idstring
    Example: 633130-00000015
    levelstring
    Example: medium
    valuestring[]
    properties object
    keystring
    Example: value
    created_atstring
    Example: 2024-04-25T06:37:40Z
    updated_atstring
    Example: 2024-04-25T07:38:11Z