updateInventory

Update 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 UpdateInventoryInput!

    UpdateInventoryInput fields

    id ID!

    The Inventory ID to update

    stock Int

    The stock of the product

    Return Fields

    inventory Inventory

    The updated 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.