v1
latestOpenAPI 3.1.02026-08-04170116.0 KBData In
Create Product Record
Ingest product data into Triple Whale. This endpoint allows users to upload detailed product information, including variants, tags, collections, and images.
post/data-in/products
Request body
Example request
{
"shop": "madisonbraids.myshopify.com",
"platform": "magento",
"platform_account_id": "shop_account_123",
"product_id": "prod-123",
"product_title": "Triple Whale T-Shirt",
"vendor": "Triple Whale",
"product_status": "active",
"product_tags": [
"discount_eligible",
"Upsell"
],
"product_type": "Clothing",
"collections": [
"Summer Collection",
"T-Shirts"
],
"images": [
{
"image_id": "img-001",
"image_src": "https://example.com/image.jpg"
}
],
"variants": [
{
"variant_id": "variant-123",
"variant_title": "Blue / Medium",
"variant_price": 19.99,
"sku": "SKU12345",
"variant_cost": 8.5,
"handling_fee": 5.5,
"inventory_quantity": 74,
"image_src": "https://example.com/variant-image.jpg",
"compare_at_price": 29.99
}
],
"created_at": "2022-06-15T19:26:30.000Z",
"updated_at": "2024-11-29T10:00:00Z"
}Response
Product record successfully received.
Example response
{
"success": true,
"message": "product received"
}