GET
/
v1
/
team
/
orders
/
{id}
Get order
curl --request GET \
  --url https://api.oneofnone.io/v1/team/orders/{id} \
  --header 'x-api-key: <api-key>'
{
  "order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "order_number": "<string>",
  "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "jsmith@example.com",
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "jsmith@example.com",
    "first_name": "<string>",
    "last_name": "<string>"
  },
  "shipping_address": {
    "first_name": "<string>",
    "last_name": "<string>",
    "name": "<string>",
    "phone": "<string>",
    "company": "<string>",
    "address1": "<string>",
    "address2": "<string>",
    "city": "<string>",
    "zip": "<string>",
    "province": "<string>",
    "country": "<string>",
    "province_code": "<string>",
    "country_code": "<string>"
  },
  "line_items": [
    {
      "sku": "<string>",
      "name": "<string>",
      "quantity": 123,
      "price": 123,
      "total": 123,
      "properties": {}
    }
  ],
  "status": "PENDING",
  "total_amount": 123,
  "subtotal_amount": 123,
  "total_shipping": 123,
  "total_tax": 123,
  "total_discounts": 123,
  "customizations": {},
  "customer_id": "<string>",
  "order_status_url": "<string>",
  "source": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

The API key required for accessing protected routes. It should be included in the request headers as x-api-key.

Path Parameters

id
integer
required

The order number of the order to fetch.

Required range: x >= 1

Response

Successfully retrieved team order.

An order for NFC chips or other products, including customer information, items, pricing, and fulfillment details.

order_id
string<uuid>

The unique identifier for the order.

order_number
string | null

The human-readable order number for customer reference.

team_id
string<uuid> | null

The unique identifier of the team that placed the order.

user_id
string<uuid> | null

The unique identifier of the user who placed the order.

email
string<email> | null

The email address associated with the order.

user
object | null

User information for the order placer.

shipping_address
object | null

Shipping address information for the order.

line_items
object[] | null

Array of items included in the order.

status
enum<string>

Current status of the order.

Available options:
PENDING,
CONFIRMED,
PROCESSING,
SHIPPED,
DELIVERED,
CANCELED
total_amount
number | null

Total amount for the entire order including all fees and taxes.

subtotal_amount
number | null

Subtotal amount before shipping, taxes, and discounts.

total_shipping
number | null

Total shipping costs for the order.

total_tax
number | null

Total tax amount for the order.

total_discounts
number | null

Total discount amount applied to the order.

customizations
object | null

Custom configurations or personalizations applied to the order.

customer_id
string | null

Shopify customer identifier who made the purchase.

order_status_url
string<uri> | null

Shopify order status URL where the customer can check order updates.

source
string | null

The system or platform where the order originated.

created_at
string<date-time>

The timestamp when the order was created.

updated_at
string<date-time> | null

The timestamp when the order was last updated.