Update a listing draft
update_listing_draftApply user corrections to a saved ad draft by updating only specified fields; after changes, rerun validation before publishing to ensure the listing is accurate.
Instructions
Applies the user's corrections to a draft. Only the fields you pass are changed. Use this after showing the draft to the user - do not rewrite their wording on your own initiative afterwards. Changing any field the form consumes clears the stored validation, so validate_listing has to run again before publishing: a validation describes the content it was run against, and this is no longer that content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| title | No | ||
| status | No | ||
| draftId | Yes | ||
| currency | No | ||
| location | No | ||
| shipping | No | ||
| condition | No | ||
| attributes | No | Per-category form fields as label -> value, e.g. {"Marque": "Seagate"}. | |
| categoryId | No | Numeric id from find_category. Must be a leaf category. | |
| description | No | ||
| categoryPath | No | Full category path, used to drive the form dropdown. |