Order API

Order retrieve

Production endpoint:
https://transact.ti.com/v2/store/orders/

Use the order retrieve API to pull a copy of your order history. The list will default to orders created during the past 30 days. To specify a range of order created on dates, add the query parameters "startDate" and "endDate," e.g. 

"https://transact.ti.com/v2/store/orders?startDate=2021-05-01&endDate=2025-05-31."

To retrieve detailed order information, query the order API with the order number, e.g: "https://transact.ti.com/v2/store/orders/T999999999."
 

Order retrieve flow

  1. Authenticate with your assigned API key and secret.
  2. After an order has been submitted and confirmed, the API will reply with a status code, 201 OK. 
  3. Query the order API to get order status and additional details.
  4. The API will reply with a status code, 200 OK, and a JSON containing order details
  5. See the order API specification for more information.

Example request using order number:

curl --request GET \
--url 'https://transact.ti.com/v2/store/orders/{orderNumber}'
--header 'Authorization: Bearer {access_token}' \
Example response:

{
  "orderNumber": 0,
  "orderStatus": "string",
  "customerPurchaseOrderNumber": "string",
  "subTotal": 0,
  "totalPrice": 0,
  "lineItems": [
    {
      "tiPartNumber": "string",
      "tiPartDescription": "string",
      "quantity": "string",
      "status": "string",
      "unitPrice": 0,
      "customReelIndicator": true
    }
  ],
  "shippingAddress": [
    {
      "addressType": "string",
      "firstName": "string",
      "lastName": "string",
      "company": "string",
      "addressLine1": "string",
      "addressLine2": "string",
      "town": "string",
      "state": "string",
      "postalCode": "string",
      "country": "string",
      "email": "string",
      "phoneNumber": "string",
      "companyURL": "string"
    }
  ],
  "billingAddress": [
    {
      "addressType": "string",
      "firstName": "string",
      "lastName": "string",
      "company": "string",
      "addressLine1": "string",
      "addressLine2": "string",
      "town": "string",
      "state": "string",
      "postalCode": "string",
      "country": "string",
      "email": "string",
      "phoneNumber": "string",
      "companyURL": "string"
    }
  ],
  "orderMessages": [
    {
      "code": "string",
      "type": "string",
      "Message": "string"
    }
  ],
  "customerOrderAttributes": [
    {
      "attribute": "string"
    }
  ],
  "orderPlacedTime": "string",
  "paymentType": "string",
  "currencyISO": "string",
  "totalTax": 0,
  "checkoutProfileIdentifier": "string",
  "totalDeliveryCost": 0,
  "totalDiscount": 0,
  "couponCodes": "string"
}