curl --request GET \
--url https://production.trackstarhq.com/cart/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",
"created_date": "2022-01-01T00:00:00Z",
"updated_date": "2022-01-02T05:05:05Z",
"name": "product_name",
"sku": "sku",
"gtin": "gtin",
"parent_product_id": "<string>",
"is_kit": true,
"active": true,
"image_url": "https://example.com/image.jpg",
"price": 10,
"unit_cost": 10,
"inventory": 10,
"inventory_by_warehouse_id": {
"warehouse_id_1": 6,
"warehouse_id_2": 4
},
"tags": [
"tag_0"
],
"external_system_url": "https://example.com/cartproduct/123",
"additional_fields": {
"key": "value"
}
}
}Returns a single Product for the Cart connection with the associated product ID.
curl --request GET \
--url https://production.trackstarhq.com/cart/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",
"created_date": "2022-01-01T00:00:00Z",
"updated_date": "2022-01-02T05:05:05Z",
"name": "product_name",
"sku": "sku",
"gtin": "gtin",
"parent_product_id": "<string>",
"is_kit": true,
"active": true,
"image_url": "https://example.com/image.jpg",
"price": 10,
"unit_cost": 10,
"inventory": 10,
"inventory_by_warehouse_id": {
"warehouse_id_1": 6,
"warehouse_id_2": 4
},
"tags": [
"tag_0"
],
"external_system_url": "https://example.com/cartproduct/123",
"additional_fields": {
"key": "value"
}
}
}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>"
Successful response
Show child attributes
The unique ID of the product.
"product_id"
The date the cart product was created.
"2022-01-01T00:00:00Z"
The date the cart product was last updated.
"2022-01-02T05:05:05Z"
The name of the product.
"product_name"
The SKU of the product.
"sku"
The GTIN of the product.
"gtin"
If this is a variant, the ID of the parent product. If this is a parent product, this field should be the same as ID.
true
Whether the product is active.
true
The URL of the product's image.
"https://example.com/image.jpg"
The price of the product if it is a variant. Not the source of truth for parent products.
10
The unit cost of the product if it is a variant. Not the source of truth for parent products.
10
The inventory of the product if it is a variant. Not the source of truth for parent products.
10
A list of tags associated with the product. Tags that are represented as key-value pairs in the underlying system will be represented as a single string formatted as key:value.
A tag associated with the product.
["tag_0"]URL link to the cart product in the external system (WMS/Freight etc).
"https://example.com/cartproduct/123"