---
title: InventoryShipmentSetBarcodePayload - GraphQL Admin
description: Return type for `inventoryShipmentSetBarcode` mutation.
api_version: 2026-04
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/payloads/InventoryShipmentSetBarcodePayload
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/payloads/InventoryShipmentSetBarcodePayload.md
api_name: admin
api_type: graphql
type: payload
metadata:
  domain: admin
---

# Inventory​Shipment​Set​Barcode​Payload

payload

Return type for `inventoryShipmentSetBarcode` mutation.

## Fields

* inventory​Shipment

  [Inventory​Shipment](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipment)

  The inventory shipment with the updated barcode.

* user​Errors

  [\[Inventory​Shipment​Set​Barcode​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipmentSetBarcodeUserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Mutations with this payload

* [inventory​Shipment​Set​Barcode](https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryShipmentSetBarcode)

  mutation

  Sets the barcode on an inventory shipment.

  * id

    [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

    required

    ### Arguments

    The ID of the inventory shipment to set the barcode on.

  * barcode

    [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

    required

    A unique barcode for the shipment.

  ***

***

## Map

### Mutations with this payload

* [inventory​Shipment​Set​Barcode](https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryShipmentSetBarcode)
