TanqoryDocs

tanqoryExtInventoryBinNamesSet

  • Mutation
  • Inventory and fulfillment

Sets or clears the bin names of inventory levels (1 to 250 entries). Every entry must name an item stocked at the location; otherwise nothing is changed and each bad entry gets a user error.

Arguments

ArgumentTypeRequiredDefault
input[TanqoryExtInventoryBinNameInput!]!Required

Returns

TanqoryExtInventoryBinNamesSetPayload Return type for tanqoryExtInventoryBinNamesSet.

FieldTypeDescription
inventoryLevels[InventoryLevel!]

The inventory levels that were changed, in input order. Null when there are user errors.

userErrors[UserError!]!

Problems with the input. When any is returned, nothing was saved.

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"mutation TanqoryExtInventoryBinNamesSet($input: [TanqoryExtInventoryBinNameInput!]!) {\n  tanqoryExtInventoryBinNamesSet(input: $input) {\n    inventoryLevels { id }\n    userErrors {\n      field\n      message\n    }\n  }\n}","variables":{"input":[]}}'

Built from commit c0b3fb3fdef7 · API version 2026-10