CreateProductRequest
The settable fields when creating a product.
Only what can be set on create: server-derived fields (id, url, timestamps) live on ExternalProduct and are not accepted here.
- categoryType:requiredProperties: 2
The product's category.
- dimensionType:
_profile requiredProperties: 6The product's dimension profile.
- titleType: stringmax length:850required
The product's title. At most 850 characters.
- attributesType: array of ProductAttributeProperties: 3
The product's attribute values.
- descriptionType: stringnullable
The product's description. At most 5000 characters.
- externalType: string
_id max length:150nullableThe seller-provided external identifier for the product.
- hazardousType: enumnullable
_material The product's hazardous-material classification, which decides the shipping label it needs. When omitted, the category's default applies.
valuesnot_hazardousstandardlithium_battery - mediaType: array of MediaProperties: 3
The product's images. At most 12. Each url must be a public https link that returns an image with an image/* content type. Images are imported asynchronously, so a new image may be missing from this response, and an image that fails to import is skipped. On update, this replaces the full set of images, so include any you want to keep.
- optionsType: array of ProductOption …3Properties: 3
The product's options, such as Color or Size. At most 3 options, and at most 2,048 variants (one for each combination of option values).