Shop API icon

Shop API

Call Shop API

Product Types → Create

AI-generated

Summary

Create a new product type by sending a JSON object with its details to the Shop API.

Inputs

  • Fields (required) — JSON string containing the fields and their values for the new product type.

Output shape

a single record representing the created product type

The output contains the JSON response from the Shop API after creating the product type.

Examples

Example 1: Creating a new product type

Set the 'Fields' parameter with the JSON representation of the product type properties to be created.

Discussion