Data In

Enrich Products Data

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 endpoint.

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

Request body

product_idstring required

The unique identifier for the product being enriched.

shopstring 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_costnumber

The cost of the variant, to the seller.

variant_idstring

The unique identifier for the variant.

Example request

{
  "product_id": "prod-123",
  "shop": "example.myshopify.com",
  "variant_cost": 8.5,
  "variant_id": "variant-123"
}

Response

Order enrichment successfully received.

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Order enrichment received"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.