Shop API icon

Shop API

Call Shop API

Product Types → Update

AI-generated

Summary

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.

Discussion