https://shopify.com/admin/api/2020-10/orders/{order_id}/risks.jsonhttps://shopify.dev/docs/admin-api/rest/reference/orders/order-risk#create-2020-10
order_id
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://shopify.com/admin/api/2020-10/orders/{order_id}/risks.json' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://shopify.com/admin/api/2020-10/orders/{order_id}/risks.jsonhttps://shopify.dev/docs/admin-api/rest/reference/orders/order-risk#create-2020-10
order_id
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://shopify.com/admin/api/2020-10/orders/{order_id}/risks.json' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}