Docs: OPENAPI wording for duplicate SKU is stale — should say "exists in Woo, any status" #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
During the docs/refactor-v2 review, found a residual stale line in OPENAPI: it says a duplicate SKU means "already published," but the preferred wording is "exists in Woo, any status."
This is exactly the kind of stale line the refactor was meant to catch. Not a blocker, but should be fixed before merge.
Source: doc review of docs/refactor-v2, 2026-09-01.
Test cases needed once implementation exists:
{ "error": { "code": "duplicate_sku", "message": "SKU already exists in WooCommerce, any status.", "detail": { "field": "sku", "actions": ["edit_sku", "open_existing"], ... } }.Verified in main @
0c00d25: docs/contracts/API.md:58 "SKU exists in Woo under any status"; UX.md:81,100 same wording. Backend says "SKU already exists". Fixed.