Preview

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

deleteSerializedUnitsForShipment

Deletes a list of serialized units.

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 DeleteSerializedUnitsForShipmentInput! PREVIEW

    DeleteSerializedUnitsForShipmentInput 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.

    serializedUnitIdsMappings [ShippingItemToSerializedUnitIdsMappingInput!]! PREVIEW

    A list of mappings that link a shipping item ID to a list of serialized unit IDs.

    Return Fields

    deletedSerializedUnitIds [ID!]!

    A list of serialized unit IDs of the units to be deleted.

    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.