v1

latestOpenAPI 3.0.0Apache License 2.02026-07-263171,5614.1 MB
External Fulfillment Shipping v2024-09-11

processShipment

Confirm or reject the specified shipment.

post/externalFulfillment/2024-09-11/shipments/{shipmentId}

Path parameters

shipmentIdstring required

The ID of the shipment you want to confirm or reject.

Query parameters

operation'CONFIRM' | 'REJECT' required

The status of the shipment.

Request body

referenceIdstring

A unique identifier for every shipment rejection.

Example request

{
  "referenceId": "cancellation-reference-identifier1",
  "lineItems": [
    {
      "lineItem": {
        "id": "1",
        "quantity": 0
      },
      "reason": "OUT_OF_STOCK"
    }
  ]
}

Response

Success.