# Delete Order Item

Deletes a specific item from an order using its SKU. This operation is used when an item is removed before fulfillment due to order changes or corrections.

Endpoint: DELETE /api/v1/orders/{orderId}/items
Version: 1.0.0
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

  - `orderId` (string, required)
    Unique identifier for the order

## Query parameters:

  - `itemId` (string, required)
    SKU of the item to be deleted.

  - `itemIdType` (string)
    Type of identifier provided in itemId.

## Response 200:

  - `200` (unknown)
    Item deleted successfully

## Response 200 fields (application/json):

  - `orderId` (string)
    Unique identifier of the order that was updated.
    Example: PBksT3ctKT9M

  - `status` (string)
    Status of the order after the item was deleted.
    Example: Updated

  - `transactionDateTime` (string)
    Timestamp when the deletion was processed.
    Example: 2025-07-01T17:52:17.889Z

## Response 401:

  - `401` (unknown)
    The request could not be authorized

## Response 401 fields (application/json):

  - `errorCode` (string, required)
    Error code representing the unauthorized access error.
    Example: unauthorized_error

  - `message` (string, required)
    This is HTTP 401 Unauthorized response status code, which indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource.
    Example: Unauthorized access. Valid authentication credentials are required.

  - `additionalInfo` (string)
    Additional information about the unauthorized error.
    Example: Client request lacks valid authentication credentials.

## Response 404:

  - `404` (unknown)
    The requested resource was not found.

## Response 404 fields (application/json):

  - `errors` (array)

  - `errors.errorCode` (string)
    Example: NOT_FOUND

  - `errors.errorDescription` (string)
    Example: order not found

## Response 500:

  - `500` (unknown)
    The request could not be completed due to an internal error

## Response 500 fields (application/json):

  - `errorCode` (string, required)
    Error code representing the internal server error.
    Example: internal_server_error

  - `message` (string, required)
    This is HTTP 500 Internal Server Error response status code, which indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
    Example: A system error occurred. Please try again later.

  - `additionalInfo` (string)
    Additional information about the server error.
    Example: Unexpected condition occurred on the server while processing the request.

