Skip to Content
StoreOSv0.27.1
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).

MUTATIONinventory__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)}
Variables
{  "amount": 10.5,  "tenant": "string"}
Example Response
{  "data": {    "inventory__loadDemoProducts": true  }}