product_publish
Publish a new Alibaba product listing from a manifest file (product.json), auto-filling required attributes. Use draft mode to verify before going live.
Instructions
Publish a product from a manifest file (product.json), creating a new product.
The manifest gives category_id, language, fields, and asset references
(main_images/detail_images, price_file, video). Required category
attributes (icbuCatProp) are auto-filled from the manifest's
product_attributes (keyed by attribute name or id) using the schema's own
options/required rules. Set draft=True to create a draft (not listed live) —
recommended for verifying a manifest. missing_required in the result lists
required attributes still unfilled (a real publish needs them). The manifest and
its assets are confined to the server's allowed directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | ||
| account_key | No | ||
| manifest_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| response | No | ||
| error_type | No | ||
| product_id | No | ||
| biz_success | No | ||
| filled_fields | No | ||
| missing_required | No |