Skip to main content
PATCH
/
catalog
/
{id}
const updated = await lasso.catalog.update('a1b2c3d4-...', {
  attributes: { price: 34.99, status: 'active' },
});
{
  "id": "a1b2c3d4-...",
  "schema_id": "e5f6a7b8-...",
  "source": "manual",
  "status": "active",
  "attributes": {
    "title": "Premium Widget",
    "sku": "WDG-001",
    "price": 34.99
  },
  "created_at": "2026-05-01T12:00:00Z",
  "updated_at": "2026-05-27T10:15:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://productlasso.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Partially update a product’s attributes. Only the fields provided in attributes are updated; existing fields are preserved.
id
string
required
The unique product ID (UUID).
attributes
object
required
Key-value pairs to update. Provide only the fields you want to change.
expected_updated_at
string
Optimistic concurrency control. If provided, the update fails with a 409 if the product has been modified since this timestamp.
id
string
Unique product ID.
attributes
object
The full attributes after the update.
status
string
Product status.
updated_at
string
ISO 8601 timestamp of this update.
Setting expected_updated_at enables stale-write detection. If the product was modified after the provided timestamp, a 409 Conflict is returned with code: "stale_write".
const updated = await lasso.catalog.update('a1b2c3d4-...', {
  attributes: { price: 34.99, status: 'active' },
});
{
  "id": "a1b2c3d4-...",
  "schema_id": "e5f6a7b8-...",
  "source": "manual",
  "status": "active",
  "attributes": {
    "title": "Premium Widget",
    "sku": "WDG-001",
    "price": 34.99
  },
  "created_at": "2026-05-01T12:00:00Z",
  "updated_at": "2026-05-27T10:15:00Z"
}