WMS API Reference
- Inventory
- Products
- Orders
- Inbound Shipments
- Shipping Methods
- Returns
- Billing
- Warehouses
- Warehouse Customers
Get Product
Returns a single Product for the WMS connection with the associated product ID.
curl --request GET \
--url https://production.trackstarhq.com/wms/products/{product_id} \
--header 'x-trackstar-access-token: <x-trackstar-access-token>' \
--header 'x-trackstar-api-key: <x-trackstar-api-key>'
{
"data": {
"id": "product_id",
"warehouse_customer_id": "warehouse_customer_id",
"created_date": "2022-01-01T00:00:00Z",
"updated_date": "2022-01-02T05:05:05Z",
"name": "name",
"sku": "sku",
"gtin": "gtin",
"unit_price": 10.99,
"inventory_items": [
{
"inventory_item_id": "id1",
"sku": "sku1",
"unit_quantity": 1
},
{
"inventory_item_id": "id2",
"sku": "sku2",
"unit_quantity": 1
}
],
"is_kit": true,
"active": true,
"supplier": "supplier",
"supplier_object": {},
"country_of_origin": "USA",
"harmonized_code": "123456",
"supplier_products": [
{
"supplier_id": "id1",
"supplier_name": "name1",
"external_id": "ext_id1",
"unit_cost": 1
},
{
"supplier_id": "id2",
"supplier_name": "name2",
"external_id": "ext_id2",
"unit_cost": 2.5
}
],
"external_system_url": "https://example.com/product/123",
"trackstar_tags": [
"tag1",
"tag2",
{
"tag3": "value3"
}
]
}
}
Headers
Your organization-level Trackstar API key.
"<x-trackstar-api-key>"
Your user's access token for a specific integration (ShipHero, Extensiv, etc).
"<x-trackstar-access-token>"
Path Parameters
Response
The unique ID of the product.
"product_id"
The ID of the merchant/tenant/customer that owns the product. Can be passed into the Warehouse Customer endpoint for more details.
"warehouse_customer_id"
The date the product was created.
"2022-01-01T00:00:00Z"
The date the product was last updated.
"2022-01-02T05:05:05Z"
name
"name"
sku
"sku"
The Global Trade Item Number of the product. i.e. UPC, EAN, or ISBN.
"gtin"
The price of the product.
10.99
A list of inventory items associated with the product.
ID of the inventory item. Can be passed into the Inventory endpoint for more details.
"inv_id"
""
The number of units of the inventory item in the product.
0
[
{
"inventory_item_id": "id1",
"sku": "sku1",
"unit_quantity": 1
},
{
"inventory_item_id": "id2",
"sku": "sku2",
"unit_quantity": 1
}
]
true
Whether the product is active.
true
Deprecated in favor of supplier_object.
"supplier"
The country of origin of the product.
"USA"
The harmonized HS code of the product.
"123456"
A list of supplier products associated with the product.
ID of the supplier.
"sup_id"
Name of the supplier.
"sup_name"
The external ID of the product from the supplier.
"ext_id"
The cost of the product from the supplier.
"unit_cost"
[
{
"supplier_id": "id1",
"supplier_name": "name1",
"external_id": "ext_id1",
"unit_cost": 1
},
{
"supplier_id": "id2",
"supplier_name": "name2",
"external_id": "ext_id2",
"unit_cost": 2.5
}
]
URL link to the product in the external system (WMS/Freight etc).
"https://example.com/product/123"
A list of custom tags associated with the product. A tag can be either a string or a dictionary with one key-value pair. e.g. ['tag1', 'tag2', {'key1': 'value1'}]
["tag1", "tag2", { "tag3": "value3" }]
curl --request GET \
--url https://production.trackstarhq.com/wms/products/{product_id} \
--header 'x-trackstar-access-token: <x-trackstar-access-token>' \
--header 'x-trackstar-api-key: <x-trackstar-api-key>'
{
"data": {
"id": "product_id",
"warehouse_customer_id": "warehouse_customer_id",
"created_date": "2022-01-01T00:00:00Z",
"updated_date": "2022-01-02T05:05:05Z",
"name": "name",
"sku": "sku",
"gtin": "gtin",
"unit_price": 10.99,
"inventory_items": [
{
"inventory_item_id": "id1",
"sku": "sku1",
"unit_quantity": 1
},
{
"inventory_item_id": "id2",
"sku": "sku2",
"unit_quantity": 1
}
],
"is_kit": true,
"active": true,
"supplier": "supplier",
"supplier_object": {},
"country_of_origin": "USA",
"harmonized_code": "123456",
"supplier_products": [
{
"supplier_id": "id1",
"supplier_name": "name1",
"external_id": "ext_id1",
"unit_cost": 1
},
{
"supplier_id": "id2",
"supplier_name": "name2",
"external_id": "ext_id2",
"unit_cost": 2.5
}
],
"external_system_url": "https://example.com/product/123",
"trackstar_tags": [
"tag1",
"tag2",
{
"tag3": "value3"
}
]
}
}