MyCoverGenius Import Marine Cover

The policy covers the risks of loss of or damage to the packages insured.

Certain properties obtain their values from supplementary endpoints. Refer to the Auxiliary page for a list of these additional endpoints.

Buy MyCoverGenius Import Marine Cover

Use this end-point to buy MyCoverGenius Import Marine Cover.

POST https://api.mycover.ai/v1/products/heirs/buy-marine-import-cover

Request Body

Name
Type
Description

first_name*

string

Company's admin first name

last_name*

string

Company's admin last name

email*

string

Company's admin valid email address

phone_number*

string

Company's admin valid phone number

cargo_value*

number

Cost of the cargo

country_of_origin*

string

Where is the cargo shipped from?

product_id*

string

Product ID

cargo_description

string

Description of the cargo

destination_country*

string

Where is the cargo shipped to?

shipping_date*

string

When is it being shipped?

bill_of_lading*

string

Link to the Bill of Lading

certificate_of_origin*

string

Link to the certificate of origin

{
    "responseCode": 1,
    "responseText": "Purchase Successful",
    "data": {
        "policy": {
            "id": "9ce37263-da2e-48d5-9dec-f3afb1ad8484",
            "app_mode": "test",
            "active": true,
            "first_name": "Masue",
            "last_name": "Eden",
            "email": "masus323@gmail.com",
            "dob": null,
            "phone": "09044556744",
            "start_date": "2024-02-13T00:00:00.000Z",
            "expiration_date": "2025-02-13T00:00:00.000Z",
            "activation_date": "2024-02-13T00:00:00.000Z",
            "distributor_id": "10cd1dac-3a5c-43ee-b935-641d53f9cb27",
            "customer_id": "02d02662-bcf5-461e-808b-a58df729fae7",
            "buyer_id": "02d02662-bcf5-461e-808b-a58df729fae7",
            "product_id": "fac0811f-1e4b-464c-a26f-2826f0a2b9a4",
            "product_category_id": "14fb5968-48d2-49ac-88a8-0ee40e01fcca",
            "provider_id": "63dbfce7-a743-47bd-bc49-b95703054aa1",
            "meta": {
                "payload": {
                    "email": "masus323@gmail.com",
                    "phone": "09044556744",
                    "last_name": "Eden",
                    "first_name": "Masue",
                    "cargo_value": 50000,
                    "shipping_date": "2024-02-13T13:35:51.143Z",
                    "bill_of_lading": "https://via.placeholder.com/300/09f/fff.png",
                    "cargo_description": "A container of leader",
                    "country_of_origin": "Germany",
                    "destination_country": "Nigeria",
                    "certificate_of_origin": "https://via.placeholder.com/300/09f/fff.png"
                },
                "policy_number": "HRS/MRN/2024/2/WJP266759",
                "certificate_url": null,
                "provider_policy_id": null
            },
            "genius_price": 225,
            "market_price": 225,
            "purchase_id": "fb2a7e5d-9ff5-40f8-96e1-cf3da70efec8",
            "profit": 45,
            "submitted_to_provider": true,
            "updated_at": "2024-02-13T14:01:20.310Z",
            "created_at": "2024-02-13T14:01:20.310Z",
            "deleted_at": null,
            "inspection_id": null
        }
    }
}
Sample Request Payload
{
    "first_name": "Masue",
    "last_name": "Eden",
    "email": "masus323@gmail.com",
    "phone_number": "09044556744",
    "cargo_value": 50000,
    "cargo_description": "A container of leader",
    "country_of_origin": "Germany",
    "destination_country": "Nigeria",
    "shipping_date": "2024-02-13T13:35:51.143Z",
    "bill_of_lading": "https://via.placeholder.com/300/09f/fff.png",
    "certificate_of_origin": "https://via.placeholder.com/300/09f/fff.png",
    "product_id": "fac0811f-1e4b-464c-a26f-2826f0a2b9a4"
}

Certain properties obtain their values from supplementary endpoints. Refer to the Auxiliary page for a list of these additional endpoints.

Auxiliary

Last updated