Create a product type
Creates a product type.
option_type_ids and category_ids seed products created with this
type. custom_field_definitions is a replace-set of the definitions the
product form renders, in sort_order. required is advisory — the
dashboard marks the field, but a blank value is never rejected.
Required scope: write_products (for API-key authentication).
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Body
"Hoodie"
Delivery profile stamped onto products created with this type. Null leaves new products on the store default profile.
"fp_86Rf07xd4z"
Option types seeded onto products that get this type. Use apply to products to backfill existing ones.
Categories seeded onto products that get this type. Categories from other stores are ignored.
The custom field definitions the product form shows. Definitions not listed are removed from the type.
Response
product type created

