Products
The Product object
idstringoptionalPublic identifier of the product.
namestringoptionalProduct name.
descriptionstringoptionalProduct description.
skustringoptionalStock keeping unit.
primary_image_urlstringoptionalPrimary product image URL.
priceintegeroptionalProduct price.
sale_priceintegeroptionalSale price when the product is on sale.
currencycurrencyoptionalProduct currency code.
is_availablebooleanoptionalWhether the product is available for purchase.
tagsarray of stringsoptionalProduct tags.
statusstringoptionalProduct status.
metaobjectoptionalArbitrary metadata stored with the product.
addon_categoriesarray of objectsoptionalAddon categories available for the product.
variantsarray of objectsoptionalProduct variants and options.
imagesarray of stringsoptionalProduct image URLs.
videosarray of stringsoptionalProduct video URLs.
hoursarray of objectsoptionalProduct availability hours.
created_attimestampoptionalTime the product was created.
updated_attimestampoptionalTime the product was last updated.
{
"id": "product_9Lb2mQ1",
"name": "Cold Brew",
"description": "Bottled cold brew coffee.",
"sku": "CB-12",
"primary_image_url": "https://files.example.com/cold-brew.png",
"price": 450,
"sale_price": null,
"currency": "USD",
"is_on_sale": false,
"is_recommended": true,
"is_service": false,
"is_bookable": false,
"is_available": true,
"tags": [
"coffee"
],
"status": "active",
"meta": {},
"slug": "cold-brew",
"translations": [],
"addon_categories": [],
"variants": [],
"images": [],
"videos": [],
"hours": [],
"youtube_urls": [],
"created_at": "2026-05-07T09:30:00Z",
"updated_at": "2026-05-07T09:30:00Z"
}/v1/productsQuery Products
Returns published, available products for the authenticated store or network. With a network key, products are restricted to active network members and can be scoped to a member store or one of that store's categories.
querystringoptionalSearch published products available through the current store or network.
storestringoptionalNetwork member store public ID. Ignored for store-scoped keys.
categorystringoptionalProduct category public ID belonging to the selected store scope.
with_storebooleanoptionalInclude the product's hydrated member store and media.
limitintegeroptionalMaximum number of products to return.
offsetintegeroptionalNumber of matching products to skip.
/v1/productscurl https://api.fleetbase.io/v1/products?query=&store=&category=&with_store=true&limit=&offset= \
-H "Authorization: Bearer flb_live_…"/v1/productsCreate Product
Create Product
namestringrequiredDisplay name for the resource.
descriptionstringoptionalHuman-readable description of the resource.
priceintegeroptionalPrice for the item or entity.
/v1/productscurl -X POST https://api.fleetbase.io/v1/products \
-H "Authorization: Bearer flb_live_…" \
-H "Content-Type: application/json" \
-d '{
"name": "Example Product",
"description": "Example storefront product",
"price": 1000
}'/v1/productsRetrieve a Product
Retrieves a single storefront product by ID. The response includes product details, pricing, variants, and related catalog data when available.
/v1/productscurl https://api.fleetbase.io/v1/products \
-H "Authorization: Bearer flb_live_…"/v1/productsUpdate Product
Update Product
namestringoptionalDisplay name for the resource.
descriptionstringoptionalHuman-readable description of the resource.
priceintegeroptionalPrice for the item or entity.
/v1/productscurl -X PUT https://api.fleetbase.io/v1/products \
-H "Authorization: Bearer flb_live_…" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Product",
"description": "Updated storefront product",
"price": 1000
}'