Preview

createSerializedUnitsForShipment is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

createSerializedUnitsForShipment

Creates a list of serialized units for a shipping item in a shipment.

This page contains

    Authorization Rules

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

    Scopes

    ROLE_PARTNER

    ROLE_CHANNEL_ADMIN

    ROLE_CHANNEL_SUPPORT

    ROLE_SALES_SUPPORT

    ROLE_DEVELOPER

    Arguments

    input CreateSerializedUnitsForShipmentInput! PREVIEW

    CreateSerializedUnitsForShipmentInput fields

    purchaseId ID!

    The ID of the associated purchase in a fulfillment record.

    shipmentId ID!

    The ID of the associated shipment in a fulfillment record.

    serializedUnitsMappings [ShippingItemToSerializedUnitsMappingInput!]! PREVIEW

    A list of mappings for shipping items and serialized units. One shipping item may map to one or more serialized units.

    Return Fields

    serializedUnits [SerializedUnit!]! PREVIEW

    A list of serialized units (this may be an empty list).

    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.