Skip to content

Update Product

Update an existing product in Last Mile Intelligence.

updateProduct

product

ParameterTypeRequiredDefaultDescription
Product IDstringYes-The ID of the product to update
Product DataJSONYes-Fields to update
{
"id": "prod_abc123",
"name": "Ultra Low Sulfur Diesel - Premium",
"defaultPrice": 3.599,
"updatedAt": "2024-06-21T10:30:00Z"
}
{
"success": false,
"error": "Product not found",
"productId": "invalid_id"
}
  • Missing API Token: LMI credential is missing API token
  • Product Not Found: Product with specified ID does not exist
  • Validation Error: Invalid data format in update fields
  • Permission Denied: API token lacks permission for this operation