Update Product
starshipit_update_productUpdate an existing StarShipIt product by numeric ID to correct details, adjust dimensions and weights, add HS codes, or change price and customs data.
Instructions
Update an existing product in the StarShipIt product catalogue by its numeric ID.
Use this to correct product details, update dimensions/weights, add customs codes, or change any other product attribute. The product id must be provided both at the top level and inside the product object — this is a StarShipIt API requirement.
Required top-level fields:
id: Numeric product ID (obtain viastarshipit_list_products)
Required product object fields:
id: Same numeric product ID (must match top-level id)sku: Product SKU (can be the existing SKU unchanged)title: Product title (can be the existing title unchanged)
Optional product object fields: All standard product fields (customs_description, country, weight, height, length, width, hs_code, color, size, barcode, bin_location, brand, usage, material, model, mid, price, dangerous_goods, description).
Returns: The updated product object.
Error cases:
400: Validation errors (e.g. invalid field values)
404: Product with given ID not found
409: SKU conflict with another product
Use this tool when:
Correcting product weight or dimensions after a measurement error
Adding missing HS codes to products before an international shipment
Updating a product price or customs description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric product ID to update (obtain via starshipit_list_products) | |
| product | Yes | Full product object including id, sku, title, and any fields to update | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation or processing errors returned by StarShipIt | |
| object | No | The response payload when StarShipIt returns a non-object value | |
| success | No | StarShipIt success flag (a boolean on most endpoints) |