update_product
Update specific fields of an existing product using an API key. Only passed fields are changed; omitted fields remain unchanged.
Instructions
Update fields on an existing product. Requires an API key.
Only fields you pass are changed; omitted fields are preserved.
Idempotent — calling twice with the same input yields the same final
state. For creating a new listing, use create_product instead.
The API key must own the product. Trying to update someone else's product returns a 403/404.
Args:
api_key: Partle API key (prefix pk_).
product_id: ID of the product to update. Get from create_product's
return value, get_my_products, or search_products.
name: New product name. Omit to leave unchanged.
description: New description. Omit to leave unchanged.
price: New price in whole currency units (e.g. 15.99 = €15.99).
currency: New currency symbol.
url: New merchant URL.
Returns: The updated product record (full, not just the changed fields).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | ||
| product_id | Yes | ||
| name | No | ||
| description | No | ||
| price | No | ||
| currency | No | ||
| url | No |