Identity__create Vendor
Creates a new vendor/supplier for the tenant. Optionally set a password for vendor portal access. Requires a signed-in staff user. Needs the `identity__Vendor` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
identity__createVendor(body: CreateVendorInput!): CommonMutationResponse!Creates a new vendor/supplier for the tenant. Optionally set a password for vendor portal access. Requires a signed-in staff user. Needs the identity__Vendor create permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
body*Returns
- identity__createVendor
_id*ID!mutation Identity__createVendor($body: CreateVendorInput!) { identity__createVendor(body: $body) { _id }}{ "body": { "name": "string" }}{ "data": { "identity__createVendor": { "_id": "1" } }}Identity__create User MUTATION
This mutation is used to create a new user. This is a system admin only mutation. { permissions: ['*', 'create'], collectionName: 'identity__User', } Platform admin only. Needs the `identity__User` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Identity__customer Otp Login MUTATION
Public: no sign-in needed.