Order_id jst::<data_type> switch from Json::string to Json::int

Namaskara,

The order id is of type json::string.

{
“status”: “success”,
“data”:
{
“order_id”: “1644490272000”
}
}

|Name|Type|Description|
|-- -|—|—|
|status |string|A string indicating the outcome of the request. Typically success for successful operations.|
|data|object|Response data for place order request|
|data.order_id|string|An order ID for the order request placed|

Typically Order Id is a numeric value UINT_64 type.

If its returned as string, then it must be converted to UINT_64 for efficient storage and faster processing.

The order id is generated by UPSTOX.

If its only numeric, then its better to switch the data type from json::string to json::INT.

Regards
Rathnadhar K V