Fetch Orders
Endpoints
GET
Orders
Get orders for a specific risk item
You can get orders for a risk item using its id.
GET
https://app.insurehero.io/api/shield/integrations/v1/orders/:riskItemId
Headers
Authorization*
string
Bearer access token
Path Parameters
riskItemId*
string
It can be a risk item id or a uid
Query Parameters
searchBy
id | uid
Field used to search for matching orders. Default is 'id'
Example Response
Attributes
Order Details
id
uuid
Unique identifier for the order.
channel_id
uuid
Identifier of the channel where the order was placed.
risk_item_id
uuid
Identifier of the associated risk item.
customer_id
uuid
Identifier of the customer who placed the order.
customer_data
object
Detailed information about the customer.
status
string
Current status of the order.
created_at
string
Date and time when the order was created.
status_data
object
Additional status-related metadata.
insurer_taxes
string
Amount of insurer taxes applied to the order.
insurer_net_price
string
Net price from the insurer.
insurer_gross_price
string
Gross price from the insurer.
total_taxes
string
Total amount of taxes applied to the order.
total_net_price
string
Total net price of the order.
total_gross_price
string
Total gross price of the order.
Customer Data
id
uuid
Unique identifier for the customer.
dob
string
Date of birth of the customer.
otp
string
One-time password for authentication.
uid
string
Unique user identifier.
string
Customer's email address.
phone
string
Customer's phone number.
gender
string
Gender of the customer.
address
string
Address of the customer.
group_id
uuid
Identifier of the customer's group.
metadata
object
Additional customer metadata.
last_name
string
Last name of the customer.
channel_id
uuid
Identifier of the channel associated with the customer.
created_at
string
Date and time when the customer was created.
deleted_at
string
Date and time when the customer was deleted.
first_name
string
First name of the customer.
updated_at
string
Date and time of the last update.
company_name
string
Name of the company.
company_role
string
Role of the customer in the company.
bank_accounts
object []
List of the customer's bank accounts.
company_email
string
Email of the company.
document_type
string
Type of document provided by the customer.
otp_expires_at
string
Expiration date of the OTP.
company_address
string
Address of the company.
document_number
string
Number of the document provided by the customer.
company_identifier
string
Unique identifier for the company.
company_bank_accounts
object []
List of the company's bank accounts.
To access these resources, please remember to visit the Links and Resources section of the documentation.
Last updated