Inventory__create Product
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).
inventory__createProduct(body: CreateProductInput!, tenant: String): CommonMutationResponse!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
body*tenant?StringReturns
- inventory__createProduct
_id*ID!mutation Inventory__createProduct($body: CreateProductInput!) { inventory__createProduct(body: $body) { _id }}{ "body": { "allowBackorder": false, "handle": "string", "initialQuantity": 0, "lowStockThreshold": 0, "price": 10.5, "title": "string", "trackInventory": true }}{ "data": { "inventory__createProduct": { "_id": "1" } }}Inventory__create Information Template MUTATION
Creates a reusable set of product information sections. 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).
Inventory__create Technical Specification Template MUTATION
Creates a reusable set of product technical specifications. 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).