sdkDeterministic
Update offering
pipeline.updateOffering
Edit an offering and link existing workspace personas or an ICP profile. Use its saved updatedAt timestamp to prevent overwriting concurrent edits.
Parameters
workspaceId
string
No description.
expectedUpdatedAtrequired
string
No description.
patchrequired
object
No description.
offeringIdrequired
string
No description.
Example
TypeScripttypescript
await pipeline.updateOffering({"expectedUpdatedAt": "2026-01-01T00:00:00.000Z","patch": {"name": "Example offering"},"offeringId": "00000000-0000-4000-8000-000000000000"})
Response
Success response schemajson schema
{"type": "object","properties": {"offering": {"type": "object","properties": {"id": {"type": "string"},"workspaceId": {"type": "string"},"name": {"type": "string"},"slug": {"type": "string"},"type": {"type": "string","enum": ["product","service","hybrid"]},"description": {"type": ["string","null"]},"valueProposition": {"type": ["string","null"]},"keyFeatures": {"type": ["array","null"],"items": {"type": "string"}},"idealFor": {"type": ["string","null"]},"pricingContext": {"type": ["string","null"]},"differentiators": {"type": ["array","null"],"items": {"type": "string"}},"targetPersonaIds": {"type": ["array","null"],"items": {"type": "string"}},"icpProfileId": {"type": ["string","null"]},"isActive": {"type": ["boolean","null"]},"createdAt": {"type": ["string","null"]},"updatedAt": {"type": ["string","null"]}},"required": ["id","workspaceId","name","slug","type","keyFeatures","differentiators","targetPersonaIds","isActive","createdAt","updatedAt"]}},"required": ["offering"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.