---
title: "processShipment"
method: POST
path: "/externalFulfillment/2024-09-11/shipments/{shipmentId}"
tags: ["External Fulfillment Shipping v2024-09-11"]
---

# processShipment

`POST /externalFulfillment/2024-09-11/shipments/{shipmentId}`

## Request

- Base URL: `https://sellingpartnerapi-na.amazon.com`
- URL: `https://sellingpartnerapi-na.amazon.com/externalFulfillment/2024-09-11/shipments/{shipmentId}`
- Auth: none declared

Confirm or reject the specified shipment.

## Path parameters

- `shipmentId` string, required

## Query parameters

- `operation` 'CONFIRM' | 'REJECT', required

## Request body

- ShipmentAcknowledgementRequest: Information about the shipment and its line items, used to confirm or reject line items.
  - `referenceId` string: A unique identifier for every shipment rejection.
  - `lineItems` LineItemWithReason[], required: Details about the line items from the shipment that are being confirmed or rejected by the seller.
    - `lineItem` LineItem, required: Information about the line item being confirmed or rejected.
      - `id` string, required: The identifier of the line item from the shipment that is being confirmed or rejected by the seller.
      - `quantity` integer: The quantity of the line item.
    - `reason` 'OUT_OF_STOCK' | 'CUSTOMER_REQUESTED': The reason for the rejection of the line item.

## Response `204`

Success.

## Other responses

- `400`: Request has missing or invalid parameters and cannot be parsed.
- `403`: Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
- `404`: The resource specified does not exist.
- `409`: The resource specified conflicts with the current state
- `413`: The request size exceeded the maximum accepted size.
- `415`: The request payload is in an unsupported format.
- `422`: Unprocessable Entity. Unable to process the contained instructions
- `429`: The frequency of requests was greater than allowed.
- `500`: An unexpected condition occurred that prevented the server from fulfilling the request.
- `503`: Temporary overloading or maintenance of the server.

---

[API](https://skmtc.dev/aws-samples/apis/a-content-management-v2020-11-01.md) - [All operations](https://skmtc.dev/aws-samples/apis/a-content-management-v2020-11-01/llms.txt) - [OpenAPI document](https://skmtc.dev/aws-samples/apis/a-content-management-v2020-11-01/revisions/815a5b6dbaa6?raw)
