Skip to main content

Validate Requirements

POST 

/api/v2/listings/validate-requirements

Dry-run a set of products against a template on a sales-channel instance and report, per product, required and recommended field coverage (present vs missing) plus any validation issues. Nothing is created or published.

Required scope: products:write

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

Body

  • product_ids (integer[], required) — the products to validate.
  • sales_channel_id (integer, required) — the sales-channel instance to validate against.
  • sales_channel_product_template_id (integer, required) — the template to apply; must belong to the given sales channel.

Each product's status is one of ready, needs_attention (a required field is missing a value), or error (a field has an invalid value).

Request

Responses

OK

Response Headers
    Content-Type