Remove Page
Authenticated · x-tenant · Auth rules: @storeos/rbac-catalog Requires a signed-in staff user. Needs the `Pages` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).
removePage(where: CommonFindDocumentDto!): Boolean!Authenticated · x-tenant · Auth rules: @storeos/rbac-catalog Requires a signed-in staff user. Needs the Pages delete permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where*Returns
removePage*Boolean!mutation RemovePage($where: CommonFindDocumentDto!) { removePage(where: $where)}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "removePage": true }}Remove Coupon MUTATION
Coupon will delete on which tenant user has access to. Requires a signed-in staff user. Needs the `Coupon` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Sale__create Discount MUTATION
{ collectionName: 'sale__Discount', permissions: ['*', 'create'], } Requires a signed-in staff user. Needs the `sale__Discount` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).