Core GraphQL APIReferenceMutations
Inventory__load Demo Products
Requires a signed-in staff user. Needs the `inventory__Product` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
MUTATION
inventory__loadDemoProducts(amount: Float!, tenant: String!): Boolean!Requires a signed-in staff user. Needs the inventory__Product create permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
amount*Float!tenant*String!Returns
inventory__loadDemoProducts*Boolean!Example Request
mutation Inventory__loadDemoProducts($amount: Float!, $tenant: String!) { inventory__loadDemoProducts(amount: $amount, tenant: $tenant)}{ "amount": 10.5, "tenant": "string"}{ "data": { "inventory__loadDemoProducts": true }}Inventory__initialize Stock MUTATION
Requires a signed-in staff user. Needs the `inventory__Stock` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Inventory__receive Stock MUTATION
Requires a signed-in staff user. Needs the `inventory__Stock` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).