> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.returnhelper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 获取 Consolidate Shipping 合箱费 Transaction 的 FNSKU

> [!WARNING]
>
> 此页面由 AI 自动翻译。API 技术规格以英文呈现为标准。如有任何疑问，请参阅[英文版本](/api-reference/apitransaction/get-fnskus-of-consolidate-shipping-merge-fee-transaction)。

列出 Consolidate Shipping 合箱费（`CONSOLIDATE_SHIPPING_MERGE`）Transaction 涵盖的 FNSKU：每个箱子中的每个 FNSKU 一条，附该箱中的件数。

箱子可装 RMA、FNSKU 或两者。箱子只装 RMA 时，列表为空。


## OpenAPI

````yaml get /api/ApiTransaction/getConsolidateShippingShipmentBoxItemBucketList
openapi: 3.1.0
info:
  title: Return Helper API
  description: API documentation for Return Helper — covering User and Public endpoints.
  version: 1.0.0
servers:
  - url: https://api.returnshelper.com/uat/user
    description: Sandbox — User API
  - url: https://api.returnshelper.com/uat/public
    description: Sandbox — Public API
  - url: https://api.returnhelpercentre.com/v1/user
    description: Production — User API
  - url: https://api.returnhelpercentre.com/v1/public
    description: Production — Public API
  - url: https://api.returnhelperchina.com/user
    description: Production — User API (China)
security:
  - ApiKey: []
    ApiToken: []
paths:
  /api/ApiTransaction/getConsolidateShippingShipmentBoxItemBucketList:
    get:
      tags:
        - ApiTransaction
      summary: Get FNSKUs of a consolidate shipping merge fee transaction
      operationId: ReturnUserApi_GetConsolidateShippingShipmentBoxItemBucketList
      parameters:
        - name: apiTransactionId
          in: query
          required: true
          schema:
            type: string
          description: Transaction ID (ULID) of a `CONSOLIDATE_SHIPPING_MERGE` transaction
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GeneralList_UserGetConsolidateShippingShipmentBoxItemBucketReply
        '401':
          description: >-
            Authentication failed. Returned when the `x-rr-apikey` or
            `x-rr-apitoken` header is missing or invalid. The body uses the
            standard `ApiResponse` envelope with `meta.error.message` describing
            the auth failure.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
      security:
        - ApiKey: []
          ApiToken: []
      servers:
        - url: https://api.returnshelper.com/uat/user
          description: Sandbox — User API
components:
  schemas:
    GeneralList_UserGetConsolidateShippingShipmentBoxItemBucketReply:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: >-
              #/components/schemas/UserGetConsolidateShippingShipmentBoxItemBucketReply
          description: >-
            One entry per FNSKU in each box the merge fee covers. Empty when the
            boxes hold only RMAs.
    ApiResponse:
      type: object
      description: >-
        Universal response envelope. Successful responses include the business
        payload as additional top-level fields alongside `correlationId` and
        `meta`. Failed responses (auth errors, validation errors) only populate
        `correlationId` and `meta`, with `meta.errorCode` and `meta.error`
        describing the failure.
      properties:
        correlationId:
          type:
            - string
            - 'null'
          description: >-
            Unique correlation ID for tracing the request through Return Helper
            systems.
        meta:
          $ref: '#/components/schemas/ApiResponseMeta'
    UserGetConsolidateShippingShipmentBoxItemBucketReply:
      type: object
      properties:
        consolidateShippingShipmentBoxItemId:
          type: string
          description: ULID
        fnsku:
          type: string
        quantity:
          type: integer
          description: Pieces of this FNSKU in the box
    ApiResponseMeta:
      type: object
      description: >-
        Application-level metadata for every API response. Inspect `status` and
        `errorCode` to detect soft-error responses (validation failures arrive
        as HTTP 200 with `meta.status: 400`).
      properties:
        status:
          type: integer
          description: >-
            Application-level status code. For successful operations this
            mirrors the HTTP status (e.g. 200). For validation failures it
            reports the logical status (e.g. 400) even though the wire HTTP
            status is 200.
        data:
          type: object
          additionalProperties:
            type: string
          description: Reserved free-form metadata key/value pairs. Usually empty.
        errorCode:
          type:
            - string
            - 'null'
          description: >-
            Machine-readable error code (e.g. `VALIDATION_FAILED`). Non-null
            only when the operation failed.
        error:
          type: object
          additionalProperties: true
          description: >-
            Field-level or message-level error detail keyed by request property
            name. Empty object on success.
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-rr-apikey
      description: Your API key
    ApiToken:
      type: apiKey
      in: header
      name: x-rr-apitoken
      description: Your API token — keep this private

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.