curl --request GET \
--url https://api.rootfi.dev/v4/ecommerce/items/{id} \
--header 'api_key: <api-key>'{
"rootfi_id": 157,
"rootfi_deleted_at": null,
"rootfi_created_at": "2024-01-22T05:07:31.465Z",
"rootfi_updated_at": "2024-01-22T05:07:31.000Z",
"rootfi_company_id": 1089,
"platform_id": "prod_789",
"name": "Wireless Headphones",
"description": "Premium wireless headphones with noise cancellation",
"sku": "WH-2024-BLK",
"status": "active",
"created_at": "2024-01-22T05:07:31.465Z",
"updated_at": "2024-01-22T05:07:31.000Z",
"variants": [
{
"rootfi_id": 3101,
"platform_id": "var_shopify_001",
"name": "Black - Medium",
"sku": "WH-2024-BLK-M",
"price": 99.99,
"compare_at_price": 129.99,
"currency_id": "USD",
"status": "active"
}
]
}Retrieve a specific item by its ID.
curl --request GET \
--url https://api.rootfi.dev/v4/ecommerce/items/{id} \
--header 'api_key: <api-key>'{
"rootfi_id": 157,
"rootfi_deleted_at": null,
"rootfi_created_at": "2024-01-22T05:07:31.465Z",
"rootfi_updated_at": "2024-01-22T05:07:31.000Z",
"rootfi_company_id": 1089,
"platform_id": "prod_789",
"name": "Wireless Headphones",
"description": "Premium wireless headphones with noise cancellation",
"sku": "WH-2024-BLK",
"status": "active",
"created_at": "2024-01-22T05:07:31.465Z",
"updated_at": "2024-01-22T05:07:31.000Z",
"variants": [
{
"rootfi_id": 3101,
"platform_id": "var_shopify_001",
"name": "Black - Medium",
"sku": "WH-2024-BLK-M",
"price": 99.99,
"compare_at_price": 129.99,
"currency_id": "USD",
"status": "active"
}
]
}| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The rootfi_id or platform_id of the item to retrieve |
The rootfi_id or platform_id of the item
V4 Item object (replaces Product) with embedded Variants
The unique ID we assign for that data's information
157
The date at which RootFi first synced this data
"2024-01-22T05:07:31.465Z"
The latest date at which RootFi updated this data
"2024-01-22T05:07:31.000Z"
The ID of the company in the accounting platform
1089
An unique custom RootFi ID made from platform's unique_id.
"123456"
The date at which the data was deleted in the accounting platform
The ID of the data in the accounting platform.
A JSON containing fields that you can directly get from the accounting platform.
The hash of the data
Display name of the product (e.g., "Wireless Headphones")
Detailed description of the product, including features and specifications
Stock Keeping Unit - unique identifier for inventory tracking
Current availability status of the item
active, archived, draft, unknown Original creation timestamp from the source platform (ISO 8601)
Last modification timestamp from the source platform (ISO 8601)
Collection of product variants with different attributes (size, color, etc.)
Show child attributes