Skip to content

Catalog Product — Delete

Equivalent to DELETE /api/admin/catalog/products/{id}.

Prerequisites

The example uses an illustrative id value. Replace it with the id of a product that exists in your store — use the adminCatalogProducts query to discover valid ids.

Operation

OperationType
deleteAdminCatalogProductMutation

Input

FieldTypeRequiredNotes
idID!yesResource IRI of the product to delete.

No "in-order" guard (parity with monolith)

Bagisto admin does not refuse to delete products that appear in non-completed orders — neither does this mutation.

Released under the MIT License.