Dismiss suggested catalog organization changes

Changed on

Dismisses changes of the catalog organization proposal carried by one of the caller's own catalog suggestion notifications, for every editor who received it, in one transaction: the changes named by changeKeys (each <type>/<id>, as catalog.reviewOrganizationSuggestion lists them), or without it every change not yet applied or dismissed. A dismissed change can no longer be applied and cannot be restored. Writes nothing in the catalog. Returns how many changes remain undecided; once none does, the suggestion closes and leaves every editor's inbox. Refused with NOT_FOUND when the notification is not the caller's catalog suggestion in this organization, and with BAD_REQUEST when a key names no change of the proposal. Refused with CONFLICT and refusal alreadyApplied when any editor already applied a requested change, or the suggestion closed with every change applied, with CONFLICT and refusal alreadyDismissed when any editor already dismissed a requested change, or the suggestion closed after dismissals, and with CONFLICT and refusal dependentRequired when a change not requested cannot land without a requested one (what lands in the new category a requested change creates, or the archive of the category a requested change moves a row out of). Refused with FORBIDDEN as paywallLocked when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

post/api/public/v1/catalog/dismissOrganizationSuggestionChanges

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
organizationId, string required
notificationId, string required
changeKeys, string[]

Response

OK

object required
dispatchId, string required
remaining, number required

Changes