createInventory

Create an inventory record

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    ROLE_DEVELOPER

    Arguments

    input CreateInventoryInput!

    CreateInventoryInput fields

    editionCode String!

    The edition code of the marketplace product

    stock Int

    The stock of the product

    vendorId ID

    The Id of the vendor of the inventory

    sku String!

    The SKU of the product

    Return Fields

    inventory Inventory

    The created inventory record

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.