Create a product
Creates a new product. Supports nested variants with prices and option types.
Option types and values are auto-created if they don’t exist. Prices are upserted by currency. Stock items are upserted by stock location.
Required scope: write_products (for API-key authentication).
Authorizations
Headers
Body
Identities the record has in external systems, keyed by system: the same { system: external_id } map the Admin API renders, so what you read can be sent straight back. Systems you do not name keep the reference they have. A list of { system, external_id } entries is accepted too.
Downloadable files written with the product. Each entry carries a signed_id (an upload to private storage) or a provider_type (a provider-backed asset), and attaches to the default variant unless variant_id is given. An id updates that asset in place, so replaying the list does not duplicate it; removal uses the nested digital assets endpoint.
Response
product created

