Seller create listing
seller_create_listingCreate a product listing. Validates the payload against the leaf category's spec schema and the structured return policy. Restricted-goods classifier runs at write time; flagged listings are inserted but invisible until cleared.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug base (lowercase letters, digits, hyphens); a random suffix is appended. Omit to derive from title. | |
| specs | Yes | Category-specific spec values; must match the category's spec schema. | |
| stock | Yes | Initial units in stock. Defaults to 0. | |
| title | Yes | Product title shown to buyers (1-300 chars). | |
| images | Yes | Image URLs (https, max 12); the first entry becomes the primary image. | |
| width_mm | No | Package width in millimetres. | |
| height_mm | No | Package height in millimetres. | |
| length_mm | No | Package length in millimetres. | |
| description | Yes | Full product description (max 20000 chars). | |
| price_pence | Yes | Item price in pence (integer minor units of the seller's currency). | |
| vat_rate_bp | Yes | VAT rate in basis points, 0-2500 (2000 = 20%). Defaults to 0. | |
| weight_grams | No | Item weight in grams. | |
| category_slug | Yes | Slug of a leaf catalog category to list under. | |
| return_policy | No | Return-policy object; omit to use the seller-country default. Validated against platform floors. | |
| certifications | Yes | Certification labels the product holds (free-form strings). | |
| shipping_pence | Yes | Shipping charge in pence (integer minor units). Defaults to 0. | |
| country_of_origin | No | ISO 3166-1 alpha-2 country of origin (e.g. GB). |