Actions119
- Products Actions
- Categories Actions
- Customers Actions
- Customer Groups Actions
- Agents Actions
- Contacts Actions
- Orders Actions
- Offers Actions
- Preorders Actions
- Payment Methods Actions
- Pricelists Actions
- Product Units Actions
- Product Types Actions
- Tags Actions
- Tag Types Actions
- Tax Rates Actions
- Reorder Reminders Actions
- Prospects Actions
- Activities Actions
- Statistics Actions
Product Types → Update
AI-generatedSummary
Update an existing product type by specifying its ID and providing the updated fields in JSON format.
Inputs
- Id (required) — The unique identifier of the product type to update.
- Fields (required) — JSON string containing the fields and values to update on the product type.
Output shape
A single record containing the updated product type's details.
The updated product type object is returned as a JSON response from the API after successful update.
Examples
Example 1: Update Product Type
Specify the 'Id' of the product type to update and a JSON string in 'Fields' representing the fields to change.