E-com Product Search

E-commerce products in the Ka-ching system can either be imported directly into the system using the online channel, or they can be left out of the system and only be added directly to the basket through an online e-com product search.

The e-com product format differs slightly from the regular product format in that the returned products cannot have variants. In other words, the returned products are concrete instances of a product or a specific product variant that can be added to the basket directly.

Here is the full E-com product model:

{
    "id": "<string, optional>",
    "variant_id": "<string, optional>",
    "name": "<L10nString, optional>",
    "variant_name": "<L10nString, optional>",
    "description": "<L10nString, optional>",
    "barcode": "<string, optional>",
    "image_url": "<string, optional>",
    "product_group": "<string, optional>",
    "retail_price": "<number, required>",
    "sale_price": "<number, optional>",
    "cost_price": "<number, optional>",
    "taxes": "<array of taxes, optional>"
}

Please refer to the general Product model in the Models document for details about each of the properties.