Skip to main content

Mark Lifecycle Suggestion Accepted

POST 

/api/v2/product-lifecycle/suggestions/:suggestion/mark-accepted

Marks an open or snoozed suggestion as accepted without changing the product, for when the change was already made another way. Records who resolved it and when.

Required scope: products:write

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

No request body.

Response: the updated suggestion.

Suggestion fields: id, product_id, product (id, sku, name, lifecycle_state, lifecycle_state_label, lifecycle_state_color), rule (all_suppliers_discontinued, dormant, cz_classification, channel_inactive, season_ended, successor_launched), rule_label, suggested_state (state key, e.g. discontinued or phasing_out), suggested_state_label, suggested_state_color, suggested_reason (brand_decision, supplier_discontinued, seasonal_end, low_performance, replaced, quality_issue, other), suggested_reason_label, evidence (the signal behind the suggestion: a human-readable summary, rule-specific numbers such as days, on_hand, stock_value, last_sold_at, supplier_count or successor_sku, links [{label, url}] and evaluated_at), status (open, accepted, dismissed, snoozed), dismiss_reason, snoozed_until (date), suppressed_until (date), resolved_by_user_id, resolved_at, created_at, updated_at.

Returns 422 when the suggestion was already accepted or dismissed.

Requires a Bearer token with the products read/write scope and the products.manage_lifecycle permission.

Request​

Responses​

OK

Response Headers
    Content-Type