Skip to main content

Validate Draft

POST 

/api/v2/listing-drafts/:draft/validate

Re-resolve the draft's values against current product data + mappings and re-run validation. Mapped overrides ({source_type, source_value}) are re-evaluated against the product on every call. State transitions to ready when validation passes, back to draft when errors appear. A draft without a category records a missing_category validation error.

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

variant_context — describes whether this draft targets a single VARIANT of a matrix family rather than the family itself. When is_variant_child is true, parent_sku / parent_name identify the family and sibling_count is how many variants it has. Publishing a single child is permitted, but it creates a standalone channel item with no variant group — publish the parent to list the whole family as one grouped listing. null when the draft has no product.

Request

Responses

OK