ADM-OPERATION-300 - Delete an Operation

Deletes an Operation if and only if it is not linked to any cart or order.


Feature flag

  • Requires OPERATIONS to be active.

Access control

  • OPERATOR clients: can delete any Operation.
  • ACCOUNT clients: can delete only Operations where they are the creator (ownerId), have the OPERATIONS_DELETE right, and are attached to the effective store.

Constraints

  • Operation can be deleted in any status (DRAFT, ACTIVE, INACTIVE).
  • Deletion is blocked if the Operation is linked to at least one cart or order.

Cascade effect

  • If deletion is authorized, associations to products and accounts are also deleted.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Operation identifier to delete

Headers
string
enum
required

Specifies the client type making the request.

  • OPERATOR: Platform operator user.

  • ACCOUNT: Customer account user.

  • SUPPLIER: Supplier managing orders.

Allowed:
string
required

API key required for authentication. Must be valid and linked to the requesting user.

string

(Optional) Store ID in multi-store environments.

string

(Optional) Store view ID in multi-store environments.

Responses
204

Operation successfully deleted (no content returned)

400

Invalid request payload or wrong format.

401

Unauthorized. Missing or invalid authentication token.

403

Forbidden.

  • Unauthorized client value (unexpected dj-client)
  • Access denied (rights/ownership/store)
  • Operation not deletable (linked to carts or orders)
  • Feature disabled
404

Operation not found.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here!