Product Lines

Partially update a product line

Updates only the provided fields; at least one of name or details is required. A details patch is a shallow merge: each top-level key you send replaces that key on the stored object, other keys are left unchanged, and keys cannot be removed (set a key's value to null to blank it). The patch itself must be a JSON object. Renaming to a name another active product line holds is a 409 (renaming to the current name is fine). Requires the GEO product.

patch/org/product-lines/{id}

Request

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

Path parameters

idstring uuid required

The product line's id.

Request body

namestring
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 updated 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.