ShipNitro
  1. API v2
ShipNitro
  • Authentication
  • API v2
    • Getting Shipment Rates
      POST
    • Retrieve Shipment Details
      GET
    • Creating Shipment Labels
      POST
    • Get Current Credit
      GET
    • Getting Tracking number status
      POST
    • Address Validation
      POST
  • API v1 - deprecated do not use
    • Get Labels
      POST
    • Get Rates
      POST
    • Create Label
      POST
    • Get Current Credit
      GET
  • Callbacks
    • v2
      • Customer Create Label Callback
    • v1 - deprecated do not use
      • Callback Part 1
  1. API v2

Retrieve Shipment Details

GET
api/v2/shipments/{box_id}
This endpoint will give you ability to retrieve the shipment details

Request

Path Params

Header Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.shipnitro.com/api/v2/shipments/api_67854dea770a888e3e0dd692' \
--header 'Authorization: Basic {{apiKey}}'

Responses

🟢200 Link Response Success
application/json
Body

Example
{
    "message": [
        "Shipment is ready"
    ],
    "boxId": "api_666099dss22qsaasda5d07b6f6",
    "status": "completed",
    "recipient": {
        "addressLine1": "12630 NW 115th AVE",
        "addressLine2": null,
        "city": "Medley",
        "stateCode": "FL",
        "postalCode": "33178",
        "countryCode": "US",
        "residential": false,
        "personName": "Test Company",
        "companyName": "Shipnitro",
        "email": null,
        "phoneNumber": "0123456789"
    },
    "referenceCodes": {
        "reference1": "testReference1",
        "reference2": "test",
        "reference3": "testReference2"
    },
    "parcels": [
        {
            "length": 42.75,
            "width": 27.55,
            "height": 54.15,
            "dimensionUnit": "CM",
            "weight": 10.51,
            "weightUnit": "KG",
            "count": 1
        }
    ],
    "masterTrackingNumber": "796745219924",
    "totalCost": 21.5,
    "compiledLabel": "https://www.staging.shipnitro.com/download/666099dss22qsaasda5d07b6f6?796745219924.pdf",
    "labels": [
        {
            "trackingNumber": "796745219924",
            "label": "https://www.staging.shipnitro.com/download/api_666099dss22qsaasda5d07b6f6/796745219924"
        }
    ]
}
🟠401Unauthorized
🟠404Record Not Found
🔴500Server Error
🟢200Voided Label
🟠424Failed Label
Modified at 2025-01-13 17:35:45
Previous
Getting Shipment Rates
Next
Creating Shipment Labels
Built with