cart
Products
Get Cart Product
Changed onReturns a single Product for the Cart connection with the associated product ID.
get/cart/products/{product_id}
Request
- Base URLhttps://production.trackstarhq.com
- URLhttps://production.trackstarhq.com/cart/products/{product_id}
- Authnone required
Path parameters
product_idstring required
Headers
x-trackstar-api-keystring required
Example:<x-trackstar-api-key>
Your organization-level Trackstar API key.
x-trackstar-access-tokenstring required
Example:<x-trackstar-access-token>
Your user's access token for a specific integration (ShipHero, Extensiv, etc).
Response
Successful response
Example response
{
"data": {
"id": "product_id",
"created_date": "2022-01-01T00:00:00Z",
"updated_date": "2022-01-02T05:05:05Z",
"name": "product_name",
"description": "<p>Soft cotton crew neck tee.</p>",
"sku": "sku",
"gtin": "gtin",
"parent_product_id": "parent_product_id",
"is_kit": true,
"active": true,
"image_url": "https://example.com/image.jpg",
"price": 10,
"unit_cost": 10,
"currency_code": "USD",
"inventory": 10,
"inventory_by_warehouse_id": {
"warehouse_id_1": 6,
"warehouse_id_2": 4
},
"measurements": {
"length": 1.5,
"width": 1.5,
"height": 1.5,
"unit": "in",
"weight": 2.5,
"weight_unit": "lb"
},
"tags": [
"tag_0"
],
"categories": [
"Apparel",
"Shoes",
"Running"
],
"external_system_url": "https://example.com/cartproduct/123",
"trackstar_tags": [
"tag1",
"tag2",
{
"tag3": "value3"
}
],
"additional_fields": {
"key": "value"
},
"trackstar_created_date": "2023-03-15T13:45:30Z",
"trackstar_updated_date": "2023-03-15T13:45:30Z"
}
}Changes
- info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info