Delete plan item(s)
Deletes one or more items from a plan using comma-separated query params. Use itemIds for REBALANCE, MARKDOWN, SUPPLIER_RETURN, and SUPPLIER_EXCHANGE. Use variantIds for RESTOCK (deletes all items for the given variant across all sizes/shops). PRE_SEASON is not yet supported and returns HTTP 422.
Authorizations
User session token issued by NextAuth. For human users accessing Solya via the web application.
Path Parameters
Plan type. One of: RESTOCK, REBALANCE, MARKDOWN, SUPPLIER_RETURN, SUPPLIER_EXCHANGE, PRE_SEASON
RESTOCK, REBALANCE, MARKDOWN, SUPPLIER_RETURN, SUPPLIER_EXCHANGE, PRE_SEASON Unique identifier of the plan (UUID)
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Query Parameters
Comma-separated list of item IDs to delete (for REBALANCE, MARKDOWN, SUPPLIER_RETURN, SUPPLIER_EXCHANGE)
Comma-separated list of variant IDs to delete (for RESTOCK only)
Human-readable reason for this deletion; written to the audit log
500
