Create Page
Authenticated · x-tenant · Auth rules: @storeos/rbac-catalog Requires a signed-in staff user. Needs the `Pages` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
createPage(body: CreatePageInput!, tenant: String): CommonMutationResponse!Authenticated · x-tenant · Auth rules: @storeos/rbac-catalog Requires a signed-in staff user. Needs the Pages create permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
body*tenant?StringReturns
- createPage
_id*ID!mutation CreatePage($body: CreatePageInput!) { createPage(body: $body) { _id }}{ "body": { "title": "string" }}{ "data": { "createPage": { "_id": "1" } }}Create Coupon MUTATION
This mutation is used to create a new coupon. { permissions: ['*', 'create'], collectionName: 'Coupon', } Requires a signed-in staff user. Needs the `Coupon` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Files__register MUTATION
Authenticated · x-tenant · Add an uploaded file to the reusable file library. Requires a signed-in staff user. Needs the `files__File` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).