# Get Shipping Container By ID

## Overview

This endpoint can be used to get data of a single shipping container by ID.

In order to consume the endpoint you must:

- Be an authenticated user.

For information on how you can authenticate, see: [Authentication](https://developer.sellercloud.com/dev-article/authentication/).

As soon as you do authentication and receive a valid token, it needs to be passed to the call.

## Endpoint

Example for such endpoint for TT server is:

[https://tt.api.sellercloud.com/rest/api/ShippingContainers/{id}](https://tt.api.sellercloud.com/rest/api/ShippingContainers/%7Bid%7D)

For your server endpoint will be:

[https://{your_server_id}.api.sellercloud.com/rest/api/ShippingContainers/{id}](https://{your_server_id}.api.sellercloud.com/rest/api/ShippingContainers/%7Bid%7D)

## Request

- Method Type: HttpGet
- Authorization: Use Bearer Token + token received from token authentication

## Response

- If user is authenticated and the request is successful, then response will be **Status Code 200 => OK** with JSON in the response body containing information about the found shipping container.
- If user is not authenticated, then response will be **Status Code 401 => Not Valid Token**.
- In case of error, response will be **Status Code 500 => Internal Server Error**.

```json
{
  "Details": {
    "ReceivingWarehouseBinID": 0,
    "ContainerName": "string",
    "CreatedOn": "2022-08-01T15:06:02.973Z",
    "GetTotalQtyInContainer": 0,
    "ReceivedOnDate": "2022-08-01T15:06:02.973Z",
    "ExportedText": "string",
    "ReceiveWarehouseID": 0,
    "EstimatedArrivalDate": "2022-08-01T15:06:02.973Z",
    "ShippingStatus": 0,
    "InvoiceNumber": "string",
    "OrderSourceSPONumber": "string",
    "ContainerStatus": 0
  },
  "VesselInfo": {
    "ShippedOnDate": "2022-08-01T15:06:02.973Z",
    "ETAPortDate": "2022-08-01T15:06:02.973Z",
    "PortName": "string",
    "ShippingCost": 0,
    "VesselNumber": "string"
  },
  "TrackingExpenses": {
    "ImportTaxesPerDollar": 0,
    "ImportFrieghtPerDollar": 0,
    "ImportTaxesTotal": 0,
    "ImportFrieightTotal": 0,
    "ImportTariffTotal": 0,
    "ImportDutyTotal": 0
  },
  "VendorInvoices": [
    {
      "InvoiceId": 0,
      "InvoiceNumber": "string",
      "VendorId": 0,
      "VendorName": "string",
      "CompanyId": 0,
      "CompanyName": "string"
    }
  ],
  "Items": {
    "Results": [
      {
        "ID": 0,
        "POItemID": 0,
        "Qty": 0,
        "QtyReceived": 0,
        "CompanyID": 0,
        "VendorID": 0,
        "VendorName": "string",
        "POID": 0,
        "PurchaseDescription": "string",
        "ProductID": "string",
        "ProductName": "string",
        "InventoryAvailableQty": 0,
        "AverageCost": 0,
        "UnitCost": 0,
        "TotalCost": 0
      }
    ],
    "TotalResults": 0
  }
}
```
