Links

Prepare protection products

Construct protection products and add them to your ERP system
You can use the product protection plans within an Offer to construct protection products and add them to your ERP system.

Construct protection products

Before you construct a protection product for your store, it's important that you understand what you have available to you in an Offer. Every Offer contains:
Offer information when it was created, which product or product collection it was created for, an ID for future reference.
Plans
1-3 protection plan options that you can use to build protection products that you can add to your store. They each contain an ID, a SKU, a title, a price and a term length.
Marketing content
This is additional content that you can add to each constructed protection product, e.g., as a description. Legally, you are only required to display insurance_details_url. The rest is optional.
You can use this Offer content to construct protection products for your ERP system. You'll need to create a protection product for every plan option that you want to offer to your customers.
There may be multiple protection plan options within an Offer. You're free to choose which of the plan options you want to turn into protection products — you don't have to create protection products for each option if you don't want to.
A protection product for a 1-year warranty extension could look like this:
{
"id": "99375e62-c130-489b-9639-9006747db517",
"categories": ["hakuna_protection"],
"name": "1 year of warranty extension",
"brand": "Hakuna",
"variants": [
{
"sku": "ST-FB-WE-1Y",
"price": 1200,
"currency": "eur",
"hakuna_plan_id": "32fad830-139d-47a9-b90a-5b8006096525",
"hakuna_offer_id": "ee589e89-e5a6-4742-9fe8-3d5e119a599f",
"protected_product_id": "prd-1234"
}
],
"details": {
"insurance_details_url": "https://hellohakuna.com/plan-details"
/* Other marketing content from offer */ }
}
The protection product for a 2-year warranty extension (for the same product in your store) could look like this:
{
"id": "babd7b6b-7745-4cfb-a364-cc5c67620b4f",
"categories": ["hakuna_protection"],
"name": "2 years of warranty extension",
"brand": "Hakuna",
"variants": [
{
"sku": "ST-FB-WE-2Y",
"price": 2400,
"currency": "eur",
"hakuna_plan_id": "d49d0c0d-339a-4acc-8480-a646278da27a",
"hakuna_offer_id": "ee589e89-e5a6-4742-9fe8-3d5e119a599f",
"protected_product_id": "prd-1234"
}
],
"details": {
"insurance_details_url": "https://hellohakuna.com/plan-details"
/* Other marketing content from offer */ }
}

Add protection products to your ERP system

Once you've constructed protection products, you can add them to your ERP system. Ideally, you should make sure that these protection products are tied to the product(s) they were created for.