Product Lines

Create a product line

Creates a product line. name is trimmed and must be unique among your organization's product lines (case-sensitive; a deleted product line's name can be reused). details is an open JSON object for whatever metadata your workflows need — omit it to start with {}; an explicit null or any non-object JSON is rejected. Requires the GEO product.

post/org/product-lines

Request

  • Base URL
    https://apiv2.senso.ai/api/v1
  • Auth
    API key in header X-API-Key

Request body

namestring required
detailsProductLineDetails

Open-ended JSON object describing this product line — the keys and values are yours to define (SKUs, URLs, positioning, pricing tiers, anything downstream generation and evaluation should know). The server requires a JSON object but never validates the contents; what you store is re-serialized in canonical form — key order is normalized and numbers are re-encoded (integers above 2^53 lose precision), so send very large identifiers as strings.

Response

The created product line.

product_line_idstring uuid required
org_idstring uuid required
namestring required
detailsProductLineDetails required

Open-ended JSON object describing this product line — the keys and values are yours to define (SKUs, URLs, positioning, pricing tiers, anything downstream generation and evaluation should know). The server requires a JSON object but never validates the contents; what you store is re-serialized in canonical form — key order is normalized and numbers are re-encoded (integers above 2^53 lose precision), so send very large identifiers as strings.

created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.