---
title: "Enrich Products Data"
method: POST
path: "/data-in/products-enrichment"
tags: ["Data In"]
---

# Enrich Products Data

`POST /data-in/products-enrichment`

## Request

- Base URL: `https://api.triplewhale.com/api/v2`
- URL: `https://api.triplewhale.com/api/v2/data-in/products-enrichment`
- Auth: API key in header `x-api-key`

Use this endpoint to enrich existing products—such as adding cost data from external systems.  Supported for data from platforms with a native Triple Whale integration  (e.g., Shopify, BigCommerce, WooCommerce).  Not supported for Custom Sales Platforms—to update these, resend the full product record via the  [Products](https://triplewhale.readme.io/reference/create-product-record) endpoint.

## Request body

- object
  - `product_id` string, required: The unique identifier for the product being enriched.
  - `shop` string, required: The unique identifier for the shop (e.g., `example.myshopify.com`). This is the `shop-id` value in your Triple Whale app URL (for example `?shop-id=example.myshopify.com`). The API key owner must also have access to the shop, otherwise the request will return 403.
  - `variant_cost` number: The cost of the variant, to the seller.
  - `variant_id` string: The unique identifier for the variant.

## Response `200`

Order enrichment successfully received.

- object
  - `success` boolean
  - `message` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/triplewhale/apis/triple-whale-api.md) - [All operations](https://skmtc.dev/triplewhale/apis/triple-whale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/triplewhale/apis/triple-whale-api/revisions/318c0f3a053c?raw)
