> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer-stage.shipbob.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer-stage.shipbob.dev/_mcp/server.

# Get Order

GET https://sandbox-api.shipbob.com/2026-01/order/{orderId}

Retrieves detailed information about a specific order by its order ID, including order status, shipments, products, and recipient details.

Reference: https://developer-stage.shipbob.dev/api/orders/get-order

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: api-2026-01
  version: 1.0.0
paths:
  /2026-01/order/{orderId}:
    get:
      operationId: get-order
      summary: Get Order
      description: >-
        Retrieves detailed information about a specific order by its order ID,
        including order status, shipments, products, and recipient details.
      tags:
        - subpackage_orders
      parameters:
        - name: orderId
          in: path
          description: ''
          required: true
          schema:
            $ref: '#/components/schemas/Orders.Get.Api.Order.OrderId.OrderId.Integer'
        - name: Authorization
          in: header
          description: Authentication using Personal Access Token (PAT) token
          required: true
          schema:
            type: string
        - name: shipbob_channel_id
          in: header
          description: Channel Id for Operation
          required: false
          schema:
            $ref: >-
              #/components/schemas/Orders.Get.Api.Order.OrderId.Shipbob.Channel.Id.Integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orders.OrderViewModel'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Orders.Get.Api.Order.OrderId.Bad.Request.Object
        '401':
          description: No access right at this time
          content:
            application/json:
              schema:
                description: Any type
        '403':
          description: No access
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                description: Any type
servers:
  - url: https://sandbox-api.shipbob.com
    description: https://sandbox-api.shipbob.com
components:
  schemas:
    Orders.Get.Api.Order.OrderId.OrderId.Integer:
      type: integer
      title: Orders.Get.Api.Order.OrderId.OrderId.Integer
    Orders.Get.Api.Order.OrderId.Shipbob.Channel.Id.Integer:
      type: integer
      title: Orders.Get.Api.Order.OrderId.Shipbob.Channel.Id.Integer
    Orders.ChannelInfoViewModel:
      type: object
      properties:
        id:
          type: integer
          description: Unique id of the channel
        name:
          type: string
          description: Name of the channel
      description: Created by channel metadata
      title: Orders.ChannelInfoViewModel
    Orders.Financials:
      type: object
      properties:
        total_price:
          type: number
          format: double
          description: Sum of all line item prices, discounts, and taxes in USD
      title: Orders.Financials
    Orders.ProductInfoViewModel:
      type: object
      properties:
        external_line_id:
          type: integer
          description: >-
            Numeric assignment per item. Used as a reference number for multiple
            purposes such as split orders, split containers, etc.
        gtin:
          type: string
          description: >-
            Global Trade Item Number - unique and internationally recognized
            identifier assigned to item by company GS1
        id:
          type: integer
          description: Unique id of the product
        quantity:
          type: integer
          description: The quantity of this product ordered
        quantity_unit_of_measure_code:
          type: string
          description: >-
            Defined standard for measure for an item (each, inner pack, case,
            pallet).  Values: EA, INP, CS and PL
        reference_id:
          type: string
          description: Unique reference id of the product
        sku:
          type: string
          description: Stock keeping unit for the product
        unit_price:
          type: number
          format: double
          description: Price for one item
        upc:
          type: string
          description: Universal Product Code - Unique external identifier
      title: Orders.ProductInfoViewModel
    Orders.RecipientInfoViewModel:
      type: object
      properties:
        address:
          description: Address of the recipient
        email:
          type: string
          format: email
          description: Email address of the recipient
        name:
          type: string
          description: Name of the recipient
        phone_number:
          type: string
          description: Phone number of the recipient
      required:
        - address
        - name
      description: Information about the recipient of an order
      title: Orders.RecipientInfoViewModel
    Orders.AddressType:
      type: string
      enum:
        - MarkFor
        - ShipFrom
      title: Orders.AddressType
    Orders.RetailerProgramDataAddressViewModel:
      type: object
      properties:
        address1:
          type: string
          description: First line of the address
        address2:
          type: string
          description: Second line of the address
        city:
          type: string
          description: The city
        company_name:
          type: string
          description: Name of the company receiving the shipment
        country:
          type: string
          description: The country (Must be ISO Alpha-2 for estimates)
        state:
          type: string
          description: The state or province
        zip_code:
          type: string
          format: postal-code
          description: The zip code or postal code
        type:
          $ref: '#/components/schemas/Orders.AddressType'
      required:
        - address1
        - city
        - country
        - type
      description: Address to used when creating a B2B/DropShip order.
      title: Orders.RetailerProgramDataAddressViewModel
    Orders.RetailerProgramDataViewModel:
      type: object
      properties:
        addresses:
          type: array
          items:
            $ref: '#/components/schemas/Orders.RetailerProgramDataAddressViewModel'
          description: "Ship From - Certain retailers want to display the ship from address as their return facility, not Shipbob’s warehouse address        /// \r\nMark For Address - Final destination address"
        customer_ticket_number:
          type: string
          description: Customer Ticket Number
        delivery_date:
          type: string
          format: date-time
          description: Expected delivery date
        department:
          type: string
          description: Identifies a merchant's store department
        doNotShipBeforeDate:
          type: string
          format: date-time
          description: The date the retailer does not want the order shipped by.
        mark_for_store:
          type: string
          description: Store Number
        purchase_order_number:
          type: string
          description: >-
            First initial documentation sent from buyer to seller with item(s)
            and quantities.
        retailer_program_type:
          type: string
          description: Identifies retailer-merchant combination
        shipByDate:
          type: string
          format: date-time
          description: The date the retailer has requested the order to ship by.
      description: >-
        Contains properties that needs to be used for fulfilling B2B/Dropship
        orders.
      title: Orders.RetailerProgramDataViewModel
    Orders.FulfillmentStatus:
      type: string
      enum:
        - AwaitingInventoryAllocation
        - AwaitingReset
        - Unavailable
        - PendingOnTime
        - FulfilledOnTime
        - PendingLate
        - FulfilledLate
      title: Orders.FulfillmentStatus
    Orders.FulfillmentCenterViewModel:
      type: object
      properties:
        id:
          type: integer
          description: Id of the fulfillment center
        name:
          type: string
          description: Name of the fulfillment center
      description: Information about a fulfillment center that a shipment can belong to
      title: Orders.FulfillmentCenterViewModel
    Orders.MeasurementsViewModel:
      type: object
      properties:
        depth_in:
          type: integer
          description: Total depth in inches
        length_in:
          type: integer
          description: Total length in inches
        total_weight_oz:
          type: integer
          description: Total weight in ounces
        width_in:
          type: integer
          description: Total width in inches
      description: Measurements of a shipment
      title: Orders.MeasurementsViewModel
    Orders.PackageMaterialType:
      type: string
      enum:
        - Unknown
        - Box
        - BubbleMailer
        - PolyMailer
        - FragileBox
        - PosterTube
        - Custom
        - Bookfold
        - OwnContainer
        - Undefined
      title: Orders.PackageMaterialType
    Orders.InventoryViewModel:
      type: object
      properties:
        expiration_date:
          type: string
          format: date-time
          description: Expiration date of the inventory
        id:
          type: integer
          description: Unique id of the inventory
        is_dangerous_goods:
          type: boolean
          description: Is inventory Dangerous Good
        lot:
          type: string
          description: Lot number of the inventory
        name:
          type: string
          description: Name of the inventory item
        quantity:
          type: integer
          description: Quantity of the inventory item to be included in the fulfillment
        quantity_committed:
          type: integer
          description: >-
            The quantity of the inventory item allocated from the assigned
            fulfillment center and committed to the order. If quantity committed
            is less than order quantity, then the inventory item is out of stock
            at the assigned fulfillment center.
        serial_numbers:
          type: array
          items:
            type: string
          description: Serial number of the inventory
      description: Information about inventory belonging to a store product
      title: Orders.InventoryViewModel
    Orders.ShipmentProductViewModel:
      type: object
      properties:
        id:
          type: integer
          description: Unique id of the product
        inventory_items:
          type: array
          items:
            $ref: '#/components/schemas/Orders.InventoryViewModel'
          description: >-
            Information about fulfillable inventory items belonging to this
            product
        name:
          type: string
          description: Name of the product
        reference_id:
          type: string
          description: Unique reference id of the product
        sku:
          type: string
          description: Stock keeping unit for the product
      description: Information about a store product belonging to a shipment
      title: Orders.ShipmentProductViewModel
    Orders.CartonDetailsViewModel:
      type: object
      properties:
        products:
          type: array
          items:
            $ref: '#/components/schemas/Orders.ShipmentProductViewModel'
          description: List of what is packed in this carton
      title: Orders.CartonDetailsViewModel
    Orders.CartonMeasurementsViewModel:
      type: object
      properties:
        depth_in:
          type: number
          format: double
          description: Total depth in inches
        length_in:
          type: number
          format: double
          description: Total length in inches
        total_weight_oz:
          type: number
          format: double
          description: Total weight in ounces
        width_in:
          type: number
          format: double
          description: Total width in inches
      description: Measurements of a carton
      title: Orders.CartonMeasurementsViewModel
    Orders.CartonViewModel:
      type: object
      properties:
        barcode:
          type: string
          description: Barcode assigned to this carton
        carton_details:
          type: array
          items:
            $ref: '#/components/schemas/Orders.CartonDetailsViewModel'
          description: Details about the contents of this carton
        id:
          type: integer
          description: ID assigned to this carton
        measurements:
          $ref: '#/components/schemas/Orders.CartonMeasurementsViewModel'
        type:
          type: string
          description: Type of this carton container
      title: Orders.CartonViewModel
    Orders.ParentCartonViewModel:
      type: object
      properties:
        barcode:
          type: string
          description: Barcode assigned to this carton
        cartons:
          type: array
          items:
            $ref: '#/components/schemas/Orders.CartonViewModel'
          description: Cartons packed inside this parent container
        measurements:
          $ref: '#/components/schemas/Orders.CartonMeasurementsViewModel'
        type:
          type: string
          description: Type of this carton container
      title: Orders.ParentCartonViewModel
    Orders.RecipientViewModel:
      type: object
      properties:
        address:
          description: Address of the recipient
        email:
          type: string
          format: email
          description: Email address of the recipient
        full_name:
          type: string
          description: FullName of the recipient
        name:
          type: string
          description: Name of the recipient
        phone_number:
          type: string
          format: tel
          description: Phone number of the recipient
      description: Information about the recipient of a shipment
      title: Orders.RecipientViewModel
    Orders.OrderStatusEnum:
      type: string
      enum:
        - None
        - Processing
        - Completed
        - Exception
        - OnHold
        - Cancelled
        - CleanSweeped
        - LabeledCreated
        - ImportReview
      title: Orders.OrderStatusEnum
    Orders.StatusInformationViewModel:
      type: object
      properties:
        validation_messages:
          type: array
          items:
            type: string
      title: Orders.StatusInformationViewModel
    Orders.StatusDetailViewModel:
      type: object
      properties:
        description:
          type: string
          description: Describes what the status detail means
        exception_fulfillment_center_id:
          type: integer
        extra_information:
          $ref: '#/components/schemas/Orders.StatusInformationViewModel'
        id:
          type: integer
          description: The id of the status detail
        inventory_id:
          type: integer
          description: Inventory Id the detail applies to (if applicable)
        name:
          type: string
          description: Short name of the status detail
      title: Orders.StatusDetailViewModel
    Orders.TrackingViewModel:
      type: object
      properties:
        bol:
          type: string
          description: >-
            Bill of lading (BOL) number. Document acknowledging receipt of cargo
            for shipment.
        carrier:
          type: string
          description: Carrier of the shipment
        carrier_service:
          type: string
          description: The carrier's service which was used for this shipment
        pro_number:
          type: string
          description: Tracking number used for freight carriers
        scac:
          type: string
          description: >-
            Standard Carrier Alpha Code (SCAC). Unique 2-4 letter code used to
            identify transportation companies.
        shipping_date:
          type: string
          format: date-time
          description: Date freight was shipped on
        tracking_number:
          type: string
          description: Tracking number of the shipment
        tracking_url:
          type: string
          description: URL to the website where a shipment can be tracked
      description: Tracking information for a shipment
      title: Orders.TrackingViewModel
    Orders.ShipmentViewModel:
      type: object
      properties:
        actual_fulfillment_date:
          type: string
          format: date-time
          description: "The datetime of ShipBob’s completion of the fulfillment operation as promised.\r\nCurrently, this means the shipment has been picked, packed, and label has been printed."
        created_date:
          type: string
          format: date-time
          description: Date this shipment was created
        delivery_date:
          type: string
          format: date-time
          description: The datetime of Shipment delivered to customer.
        estimated_fulfillment_date:
          type: string
          format: date-time
          description: "The datetime of ShipBob’s commitment for completing\r\nthe shipment and handing to the carrier for delivery."
        estimated_fulfillment_date_status:
          $ref: '#/components/schemas/Orders.FulfillmentStatus'
        gift_message:
          type: string
          description: Gift message associated with the shipment
        id:
          type: integer
          description: Unique id of the shipment
        insurance_value:
          type: number
          format: double
          description: Monetary amount that this shipment was insured for
        invoice_amount:
          type: number
          format: double
          description: Monetary amount that was invoiced for this shipment
        invoice_currency_code:
          type: string
        is_tracking_uploaded:
          type: boolean
          description: "Indicates whether the Shipment was marked with tracking information\r\nuploaded to a third-party system where the order originated."
        last_tracking_update_at:
          type: string
          format: date-time
          description: Timestamp for the last time this shipment had a tracking update
        last_update_at:
          type: string
          format: date-time
          description: Date this shipment was last updated
        location:
          $ref: '#/components/schemas/Orders.FulfillmentCenterViewModel'
        measurements:
          $ref: '#/components/schemas/Orders.MeasurementsViewModel'
        order_id:
          type: integer
          description: Id of the order this shipment belongs to
        package_material_type:
          $ref: '#/components/schemas/Orders.PackageMaterialType'
        parent_cartons:
          type: array
          items:
            $ref: '#/components/schemas/Orders.ParentCartonViewModel'
          description: Carton information for this shipment
        products:
          type: array
          items:
            $ref: '#/components/schemas/Orders.ShipmentProductViewModel'
          description: Information about the products contained in this shipment
        recipient:
          $ref: '#/components/schemas/Orders.RecipientViewModel'
        reference_id:
          type: string
          description: >-
            Client-defined external unique id of the order this shipment belongs
            to
        require_signature:
          type: boolean
          description: If a shipment requires signature
        ship_option:
          type: string
          description: Name of the shipping option used for this shipment
        status:
          $ref: '#/components/schemas/Orders.OrderStatusEnum'
        status_details:
          type: array
          items:
            $ref: '#/components/schemas/Orders.StatusDetailViewModel'
          description: Additional details about the shipment status
        tracking:
          $ref: '#/components/schemas/Orders.TrackingViewModel'
      description: Information about a shipment
      title: Orders.ShipmentViewModel
    Orders.CarrierShipType:
      type: string
      enum:
        - Parcel
        - Freight
      title: Orders.CarrierShipType
    Orders.PaymentShipTerm:
      type: string
      enum:
        - Collect
        - ThirdParty
        - Prepaid
        - MerchantResponsible
      title: Orders.PaymentShipTerm
    Orders.ShippingTermsViewModel:
      type: object
      properties:
        carrier_type:
          $ref: '#/components/schemas/Orders.CarrierShipType'
        payment_term:
          $ref: '#/components/schemas/Orders.PaymentShipTerm'
      description: >-
        Contains shipping properties that need to be used for fulfilling an
        order.
      title: Orders.ShippingTermsViewModel
    Orders.OrderStatus:
      type: string
      enum:
        - Processing
        - Exception
        - PartiallyFulfilled
        - Fulfilled
        - Cancelled
        - ImportReview
      title: Orders.OrderStatus
    Orders.TagViewModel:
      type: object
      properties:
        name:
          type: string
          description: The key of the tag
        value:
          type: string
          description: The value of the tag
      required:
        - name
        - value
      title: Orders.TagViewModel
    Orders.OrderType:
      type: string
      enum:
        - DTC
        - DropShip
        - B2B
      title: Orders.OrderType
    Orders.OrderViewModel:
      type: object
      properties:
        channel:
          $ref: '#/components/schemas/Orders.ChannelInfoViewModel'
        created_date:
          type: string
          format: date-time
          description: Date this order was created
        financials:
          $ref: '#/components/schemas/Orders.Financials'
        gift_message:
          type: string
          description: Gift message associated with the order
        id:
          type: integer
          description: Unique id of the order
        order_number:
          type: string
          description: >-
            User friendly orderId or store order number that will be shown on
            the Orders Page. If not provided, referenceId will be used
        products:
          type: array
          items:
            $ref: '#/components/schemas/Orders.ProductInfoViewModel'
          description: List of products included in the order
        purchase_date:
          type: string
          format: date-time
          description: Date this order was purchase by the end user
        recipient:
          $ref: '#/components/schemas/Orders.RecipientInfoViewModel'
        reference_id:
          type: string
          description: Client-defined external unique id of the order
        retailer_program_data:
          $ref: '#/components/schemas/Orders.RetailerProgramDataViewModel'
        shipments:
          type: array
          items:
            $ref: '#/components/schemas/Orders.ShipmentViewModel'
          description: Shipments affiliated with the order
        shipping_method:
          type: string
          description: Client-defined shipping method
        shipping_terms:
          $ref: '#/components/schemas/Orders.ShippingTermsViewModel'
        status:
          $ref: '#/components/schemas/Orders.OrderStatus'
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Orders.TagViewModel'
          description: Client-defined order tags
        type:
          $ref: '#/components/schemas/Orders.OrderType'
      title: Orders.OrderViewModel
    Orders.Get.Api.Order.OrderId.Bad.Request.Object:
      type: object
      additionalProperties:
        type: array
        items:
          type: string
      title: Orders.Get.Api.Order.OrderId.Bad.Request.Object
  securitySchemes:
    PAT:
      type: http
      scheme: bearer
      description: Authentication using Personal Access Token (PAT) token
    OAuth2:
      type: http
      scheme: bearer
      description: OAuth2 authentication using JWT tokens

```

## Examples



**Response**

```json
{
  "channel": {
    "id": 0,
    "name": "ShipBobs-Shopify-Store"
  },
  "created_date": "2019-08-24T14:15:22+00:00",
  "financials": {
    "total_price": 0.1
  },
  "gift_message": "string",
  "id": 0,
  "order_number": "string",
  "products": [
    {
      "external_line_id": 0,
      "gtin": "string",
      "id": 0,
      "quantity": 0,
      "quantity_unit_of_measure_code": "string",
      "reference_id": "TShirtBlueM",
      "sku": "TShirtBlueM",
      "unit_price": 0.1,
      "upc": "string"
    }
  ],
  "purchase_date": "2019-08-24T14:15:22+00:00",
  "recipient": {
    "address": null,
    "name": "John Doe",
    "email": "john@example.com",
    "phone_number": "555-555-5555"
  },
  "reference_id": "string",
  "retailer_program_data": {
    "addresses": [
      {
        "address1": "100 Nowhere Blvd",
        "city": "Gotham City",
        "country": "US",
        "type": "MarkFor",
        "address2": "Suite 100",
        "company_name": "Wayne Enterprises",
        "state": "NJ",
        "zip_code": "07093"
      }
    ],
    "customer_ticket_number": "string",
    "delivery_date": "2019-08-24T14:15:22+00:00",
    "department": "string",
    "doNotShipBeforeDate": "2019-08-24T14:15:22+00:00",
    "mark_for_store": "string",
    "purchase_order_number": "string",
    "retailer_program_type": "string",
    "shipByDate": "2019-08-24T14:15:22+00:00"
  },
  "shipments": [
    {
      "actual_fulfillment_date": "2019-08-24T14:15:22+00:00",
      "created_date": "2019-08-24T14:15:22+00:00",
      "delivery_date": "2019-08-24T14:15:22+00:00",
      "estimated_fulfillment_date": "2019-08-24T14:15:22+00:00",
      "estimated_fulfillment_date_status": "AwaitingInventoryAllocation",
      "gift_message": "string",
      "id": 0,
      "insurance_value": 0,
      "invoice_amount": 0,
      "invoice_currency_code": "string",
      "is_tracking_uploaded": true,
      "last_tracking_update_at": "2019-08-24T14:15:22+00:00",
      "last_update_at": "2019-08-24T14:15:22+00:00",
      "location": {
        "id": 0,
        "name": "Cicero (IL)"
      },
      "measurements": {
        "depth_in": 0,
        "length_in": 0,
        "total_weight_oz": 0,
        "width_in": 0
      },
      "order_id": 0,
      "package_material_type": "Unknown",
      "parent_cartons": [
        {
          "barcode": "string",
          "cartons": [
            {
              "barcode": "string",
              "carton_details": [
                {
                  "products": [
                    {
                      "id": 0,
                      "inventory_items": [
                        {
                          "expiration_date": "2019-08-24T14:15:22+00:00",
                          "id": 0,
                          "is_dangerous_goods": true,
                          "lot": "22222",
                          "name": "Medium Blue T-Shirt",
                          "quantity": 0,
                          "quantity_committed": 0,
                          "serial_numbers": [
                            "string"
                          ]
                        }
                      ],
                      "name": "Medium Blue T-Shirt",
                      "reference_id": "TShirtBlueM",
                      "sku": "TShirtBlueM"
                    }
                  ]
                }
              ],
              "id": 0,
              "measurements": {
                "depth_in": 0.1,
                "length_in": 0.1,
                "total_weight_oz": 0.1,
                "width_in": 0.1
              },
              "type": "Box or pallet"
            }
          ],
          "measurements": {
            "depth_in": 0.1,
            "length_in": 0.1,
            "total_weight_oz": 0.1,
            "width_in": 0.1
          },
          "type": "Box or pallet"
        }
      ],
      "products": [
        {
          "id": 0,
          "inventory_items": [
            {
              "expiration_date": "2019-08-24T14:15:22+00:00",
              "id": 0,
              "is_dangerous_goods": true,
              "lot": "22222",
              "name": "Medium Blue T-Shirt",
              "quantity": 0,
              "quantity_committed": 0,
              "serial_numbers": [
                "string"
              ]
            }
          ],
          "name": "Medium Blue T-Shirt",
          "reference_id": "TShirtBlueM",
          "sku": "TShirtBlueM"
        }
      ],
      "recipient": {
        "address": null,
        "email": "john@example.com",
        "full_name": "John Doe",
        "name": "John Doe",
        "phone_number": "555-555-5555"
      },
      "reference_id": "string",
      "require_signature": true,
      "ship_option": "Standard",
      "status": "None",
      "status_details": [
        {
          "description": "string",
          "exception_fulfillment_center_id": 0,
          "extra_information": {
            "validation_messages": [
              "string"
            ]
          },
          "id": 0,
          "inventory_id": 0,
          "name": "string"
        }
      ],
      "tracking": {
        "bol": "string",
        "carrier": "USPS",
        "carrier_service": "Priority",
        "pro_number": "string",
        "scac": "string",
        "shipping_date": "2019-08-24T14:15:22+00:00",
        "tracking_number": "860C8CDC8F0B4FC7AB69AC86C20539EC",
        "tracking_url": "https://www.example.com/tracking?id=860C8CDC8F0B4FC7AB69AC86C20539EC"
      }
    }
  ],
  "shipping_method": "Free 2-day Shipping",
  "shipping_terms": {
    "carrier_type": "Parcel",
    "payment_term": "Collect"
  },
  "status": "Processing",
  "tags": [
    {
      "name": "Handling instructions",
      "value": "Fragile"
    }
  ],
  "type": "DTC"
}
```

**SDK Code**

```python default
import requests

url = "https://sandbox-api.shipbob.com/2026-01/order/1"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript default
const url = 'https://sandbox-api.shipbob.com/2026-01/order/1';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go default
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://sandbox-api.shipbob.com/2026-01/order/1"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby default
require 'uri'
require 'net/http'

url = URI("https://sandbox-api.shipbob.com/2026-01/order/1")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java default
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://sandbox-api.shipbob.com/2026-01/order/1")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php default
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://sandbox-api.shipbob.com/2026-01/order/1', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp default
using RestSharp;

var client = new RestClient("https://sandbox-api.shipbob.com/2026-01/order/1");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift default
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://sandbox-api.shipbob.com/2026-01/order/1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```