Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Inventory__remove Product

Product will delete on which tenant user has access to. Requires a signed-in staff user. Needs the `inventory__Product` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONinventory__removeProduct(where: CommonFindDocumentDto!): Boolean!

Product will delete on which tenant user has access to. Requires a signed-in staff user. Needs the inventory__Product delete permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

where*

Returns

inventory__removeProduct*Boolean!
Example Request
mutation Inventory__removeProduct($where: CommonFindDocumentDto!) {  inventory__removeProduct(where: $where)}
Variables
{  "where": {    "and": [      {        "and": [          {            "and": [              {                "and": [                  {}                ],                "key": "string"              }            ],            "key": "string"          }        ],        "key": "string"      }    ],    "key": "string"  }}
Example Response
{  "data": {    "inventory__removeProduct": true  }}