Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Inventory__remove Collection

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

MUTATIONinventory__removeCollection(where: CommonFindDocumentDto!): Boolean!

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

Arguments

where*

Returns

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