Selling Partner API SDK for JavaScript
    Preparing search index...

    Information about a line item in a shipment.

    interface ShipmentLineItem {
        cancellations?: Cancellation[];
        charges: Charge[];
        complianceAttributes: ComplianceAttributes;
        countryOfOrigin?: string;
        customAttributes?: CustomAttribute[];
        giftAttributes?: GiftAttributes;
        hazmatLabels?: string[];
        hsnCode?: string;
        itemValue?: Amount;
        merchantSku: string;
        numberOfUnits: number;
        pieceType?: PieceType;
        recommendedCountryOfOrigin?: string;
        recommendedCurrencyCode?: string;
        serialNumbers?: string[];
        shipmentLineItemId: string;
    }
    Index

    Properties

    cancellations?: Cancellation[]

    A list of cancellations for the given line item. Note: Currently, SmartConnect does not support partial cancellation of a shipment or its line items. This list will contain a single value with all the cancellation details.

    charges: Charge[]

    The charges associated with the shipment.

    complianceAttributes: ComplianceAttributes
    countryOfOrigin?: string

    A two-letter country code, as defined by the ISO-3166 alpha-2 standard.

    customAttributes?: CustomAttribute[]

    A list of custom passthrough attributes. For details on these attributes, reach out to your respective program teams at Amazon.

    giftAttributes?: GiftAttributes
    hazmatLabels?: string[]

    A list of HAZMAT label identifiers that must be applied to the packages for this line item.

    hsnCode?: string

    The HSN code of SKU in this line item.

    itemValue?: Amount
    merchantSku: string

    The seller SKU of a product (catalog item). A unique number assigned by the seller when listing an item.

    numberOfUnits: number

    The number of items of the SKU in this line item.

    pieceType?: PieceType
    recommendedCountryOfOrigin?: string

    A two-letter country code, as defined by the ISO-3166 alpha-2 standard.

    recommendedCurrencyCode?: string

    The three digit currency code of the currency recommended by the marketplace, in ISO 4217 format.

    serialNumbers?: string[]

    The serial numbers for each item in this line item.

    shipmentLineItemId: string

    An identifier for a shipment's line item. This identifier is guaranteed to be unique within the scope of its containing shipment.