Add New Products in a Flat Format

Prev Next

The Catalog API allows you to insert new products in a flat format into your product catalog. It creates new product records. If a product with the same item_id + locale already exists, it will be overwritten.

Endpoint and Headers

POST https://catalog.api.useinsider.com/v2/ingest

Header

Sample Value

Description

X-PARTNER-NAME

myParterName

This is your partner name. Navigate to InOne > Inone Settings > Account Settings to copy your partner name. The partner name should be lowercase.

X-REQUEST-TOKEN

1a2b3c4d5e6f

This key is required to authorize your request. Refer to API Authentication Tokens to generate your Catalog API token.

Body Parameters

Default Product Attributes

The following product fields should be sent as parameters in the object, along with their field name and data type, as stated. If any required fields are not sent through the Catalog API, the product is not updated or inserted.

Field Name

Description

Data Type

Required

item_id

Unique product identifier. Max 128 characters.

String

Yes

locale

ISO locale code (e.g., en_US, pt_BR). Max 64 characters.

String

Yes

name

Product name. Max 512 characters.

String

Yes

url

Product page URL. Must include protocol (e.g., https://). Max 512 characters.

String

Yes

image_url

Product image URL. Must start with http://, https://, or //.

String

Yes

price

Current selling price per currency. e.g., {"USD": 100, "BRL": 500}.

Object

Required for Stock & Revenue Feed Management Type

original_price

Original/list price per currency. Same structure as price.

Object

Required for Stock & Revenue Feed Management Type

omnibus_price

Omnibus directive price per currency. Same structure as price.

Object

No

in_stock

1 = in stock, 0 = out of stock.

Number

Required for Stock & Revenue and Availability Feed Management Types

stock_count

Available quantity. Must be >= 0.

Number

No

item_update_date

Last update timestamp. Format: YYYY-MM-DD hh:mm:ss

String

Required for Published Time Feed Management Type

item_start_date

Availability start date. Format: YYYY-MM-DD hh:mm:ss

String

Required for Start & End Time Feed Management Type

item_end_date

Availability end date. Format: YYYY-MM-DD hh:mm:ss

String

Required for Start & End Time Feed Management Type

description

Product description. Max 1024 characters.

String

No

brand

Brand name. Max 512 characters.

String

No

sku

Stock keeping unit. Max 512 characters.

String

No

color

Product color. Max 512 characters.

String

No

size

Product size. Max 512 characters.

String

No

gender

Gender classification. Max 512 characters.

String

No

category

Category as an array

String[]

No

tags

Product tags

String[]

No

groupcode

Product group identifier

String

No

variants

Product variants. Max 512 characters per item.

String[]

No

rating

Product rating, 0–10

Number

No

product_attributes

Custom attributes defined in your account.

Object {key:value}

No

is_status_passive

1 = passive/hidden in Smart Recommender and Eureka results, 0 = active.

Number

No

Custom Product Attributes

Custom Product Attributes allow you to define additional details specific to your business. These attributes enrich your catalog with data that supports your unique use cases, personalization logic, and recommendation filters.

Before sending Custom Product Attributes in your payload, you must define them in your account.

If a Default Product Attribute already exists for the information you want to include, use the default one instead of creating a custom one. This keeps your catalog structure consistent.

Custom attributes are sent inside the product_attributes object:

{
        "item_id": "velocity-runner-pro-white",
        "locale": "en_US",
        "name": "Velocity Runner Pro - White",
        "product_attributes": {
        "material_type": "Leather",
        "season": "Winter",
        "eco_friendly": true,
        "collection": "Winter Collection 2025",
        "delivery_type": "Express"
        }
        }

Feed Management Types

Your feed management type determines which pricing and stock attributes are required.

The Stock and Revenue Based feed management type is the most common type. It requires pricing and stock information.

curl --request POST "https://catalog.api.useinsider.com/v2/ingest" \
                    --header "Content-Type: application/json" \
                    --header "X-PARTNER-NAME: yourPartnerName" \
                    --header "X-REQUEST-TOKEN: your-api-token" \
                    --data '[
                    {
                    "item_id": "velocity-runner-pro-white",
                    "locale": "en_US",
                    "name": "Velocity Runner Pro - White",
                    "url": "https://www.example-insiderone.com/shoes/velocity-runner-pro-white",
                    "image_url": "https://cdn.example-insiderone.com/images/velocity-runner-pro-white.jpg",
                    "category": [
                    "Shoes",
                    "Running",
                    "Velox"
                    ],
                    "brand": "Velox",
                    "price": {
                    "USD": 129.99
                    },
                    "original_price": {
                    "USD": 149.99
                    },
                    "in_stock": 1
                    }
                    ]'

For the Availability Based feed management type, only the stock status is required. Pricing is optional.

curl --request POST "https://catalog.api.useinsider.com/v2/ingest" \
                    --header "Content-Type: application/json" \
                    --header "X-PARTNER-NAME: yourPartnerName" \
                    --header "X-REQUEST-TOKEN: your-api-token" \
                    --data '[
                    {
                    "item_id": "velocity-runner-pro-white",
                    "locale": "en_US",
                    "name": "Velocity Runner Pro - White",
                    "url": "https://www.example-insiderone.com/shoes/velocity-runner-pro-white",
                    "image_url": "https://cdn.example-insiderone.com/images/velocity-runner-pro-white.jpg",
                    "in_stock": 1
                    }
                    ]'

The Published Time Based feed management type requires an update timestamp instead of pricing.

curl --request POST "https://catalog.api.useinsider.com/v2/ingest" \
                    --header "Content-Type: application/json" \
                    --header "X-PARTNER-NAME: yourPartnerName" \
                    --header "X-REQUEST-TOKEN: your-api-token" \
                    --data '[
                    {
                    "item_id": "blog-top-running-shoes-2025",
                    "locale": "en_US",
                    "name": "Top 10 Running Shoes for 2025",
                    "url": "https://www.example-insiderone.com/blog/top-running-shoes-2025",
                    "image_url": "https://cdn.example-insiderone.com/images/blog/running-shoes-2025.jpg",
                    "item_update_date": "2025-01-15 10:30:00"
                    }
                    ]'

The Start & End Time Based feed management type requires date range attributes for time-bound content.

curl --request POST "https://catalog.api.useinsider.com/v2/ingest" \
                    --header "Content-Type: application/json" \
                    --header "X-PARTNER-NAME: yourPartnerName" \
                    --header "X-REQUEST-TOKEN: your-api-token" \
                    --data '[
                    {
                    "item_id": "promo-summer-clearance-2025",
                    "locale": "en_US",
                    "name": "Summer Clearance Sale - Up to 50% Off",
                    "url": "https://www.example-insiderone.com/campaigns/summer-clearance-2025",
                    "image_url": "https://cdn.example-insiderone.com/images/campaigns/summer-clearance.jpg",
                    "item_start_date": "2025-06-01 00:00:00",
                    "item_end_date": "2025-08-31 23:59:59"
                    }
                    ]'

Product Availability by Feed Management Type

A product is considered available based on criteria that vary by feed management type:

Feed Type

Availability Condition

Stock & Revenue Based

in_stock must be 1

Availability Based

in_stock must be 1

Published Time Based

item_update_date must be within the last 2 days (default 2 days, adjustable in Smart Recommender campaigns)

Start & End Time Based

item_end_date must not be in the past

Attribute Specifications

Pricing attributes accept an object mapping currency codes to amounts. You can include multiple currencies in a single record.

{
                    "price": {
                    "USD": 129.99,
                    "EUR": 119.99,
                    "GBP": 104.99,
                    "BRL": 899.90
                    },
                    "original_price": {
                    "USD": 149.99,
                    "EUR": 139.99,
                    "GBP": 119.99,
                    "BRL": 999.90
                    }
                    }
  • Currency codes must contain only letters (e.g., USD, EUR, BRL).

  • Amounts must be >= 0.

The category attribute accepts an array of strings. How the array is interpreted depends on your account's category type, which is configured during onboarding.

  • Flat Category Type

Use this if your categories are independent and don't follow a parent-child hierarchy. Each element is a standalone category label at the same level.

{
                    "category": ["Men's Shirts", "Women's Dresses", "Kids' Shoes"]
                    }

In flat mode, all categories are treated equally; there is no implied nesting or ordering relationship between elements.

Limits:

  • Combined length of all category elements: max 1024 characters.

  • Each element: max 512 characters.

Tags are used for product grouping and merchandising rules within the Insider One platform.

{
                    "tags": ["new-arrival", "bestseller", "summer-collection", "free-shipping"]
                    }

You can use tags to:

  • Create product segments for personalization

  • Trigger merchandising rules

  • Filter products in recommendation widgets

  • Define campaign audiences

Limits:

  • Combined length of all tags: max 4096 characters

  • Each tag: max 512 characters

The groupcode attribute links product variants together as a single product group. Products sharing the same groupcode are treated as variations of the same product (e.g., different sizes or colors).

[
                    {
                    "item_id": "velocity-runner-pro-white",
                    "groupcode": "velocity-runner-pro",
                    "color": "White",
                    "size": "10"
                    },
                    {
                    "item_id": "velocity-runner-pro-black",
                    "groupcode": "velocity-runner-pro",
                    "color": "Black",
                    "size": "10"
                    }
                    ]

Sample Request

The sample below displays a request to insert new products into the catalog using a flat format. Each product is a separate JSON object with all fields inline. Every locale/store combination is a separate object.

curl -X POST "https://catalog.api.useinsider.com/v2/ingest" \
        -H "Content-Type: application/json" \
        -H "X-PARTNER-NAME: yourPartnerName" \
        -H "X-REQUEST-TOKEN: your-api-token" \
        -d '[
        {
        "item_id": "velocity-runner-pro-white",
        "locale": "en_US",
        "name": "Velocity Runner Pro - White",
        "url": "https://www.example-insiderone.com/shoes/velocity-runner-pro-white",
        "image_url": "https://cdn.example-insiderone.com/images/velocity-runner-pro-white.jpg",
        "category": ["Shoes", "Running", "Velox"],
        "brand": "Velox",
        "color": "White",
        "groupcode": "velocity-runner-pro",
        "price": { "USD": 129.99 },
        "original_price": { "USD": 149.99 },
        "in_stock": 1,
        "stock_count": 50
        },
        {
        "item_id": "velocity-runner-pro-white",
        "locale": "en_US:newyork",
        "name": "Velocity Runner Pro - White",
        "url": "https://www.example-insiderone.com/shoes/velocity-runner-pro-white",
        "image_url": "https://cdn.example-insiderone.com/images/velocity-runner-pro-white.jpg",
        "category": ["Shoes", "Running", "Velox"],
        "brand": "Velox",
        "color": "White",
        "groupcode": "velocity-runner-pro",
        "price": { "USD": 119.99 },
        "original_price": { "USD": 149.99 },
        "in_stock": 1,
        "stock_count": 12
        },
        {
        "item_id": "velocity-runner-pro-white",
        "locale": "en_US:losangeles",
        "name": "Velocity Runner Pro - White",
        "url": "https://www.example-insiderone.com/shoes/velocity-runner-pro-white",
        "image_url": "https://cdn.example-insiderone.com/images/velocity-runner-pro-white.jpg",
        "category": ["Shoes", "Running", "Velox"],
        "brand": "Velox",
        "color": "White",
        "groupcode": "velocity-runner-pro",
        "price": { "USD": 129.99 },
        "original_price": { "USD": 149.99 },
        "in_stock": 0,
        "stock_count": 0
        },
        {
        "item_id": "velocity-runner-pro-white",
        "locale": "pt_BR",
        "name": "Velocity Runner Pro - Branco",
        "url": "https://www.example-insiderone.com/shoes/velocity-runner-pro-white",
        "image_url": "https://cdn.example-insiderone.com/images/velocity-runner-pro-white.jpg",
        "category": ["Calçados", "Corrida", "Velox"],
        "brand": "Velox",
        "color": "White",
        "groupcode": "velocity-runner-pro",
        "price": { "BRL": 899.90 },
        "original_price": { "BRL": 999.90 },
        "in_stock": 1,
        "stock_count": 30
        }
        ]'

Sample Response

All ingest endpoints return the same response structure:

{
  "success": true,
  "message": {
    "valid": {
      "count": 95
    },
    "invalid": {
      "count": 5,
      "details": [
        {
          "field": "original_price",
          "message": "Field is invalidated: 'original_price' is required",
          "count": 2,
          "document_ids": ["item-1", "item-2"]
        },
        {
          "field": "url",
          "message": "Field is invalidated: 'url' must match pattern",
          "count": 3,
          "document_ids": ["item-3", "item-4", "item-5"]
        }
      ]
    },
    "warnings": {
      "count": 1,
      "details": [
        {
          "field": "image_url",
          "message": "Image URL could not be validated",
          "count": 1,
          "document_ids": ["item-6"]
        }
      ]
    },
    "invalidRatio": 0.05
  }
}

Warnings are informational and do not prevent records from being processed.

Limitations

For all the limits applied, refer to Limitations.