- Docs
- API reference
- Products
- Retrieve a product
Retrieve a product
Code samples show live values. Live is in early access and not yet open to new partners: see Environments.
https://sandbox-api.tryflume.ai/partner/v1/products/{sku_uuid}Returns one product's photos, price, specification and shipping options.
Guide: Find products by photo
Request
Headers
| Header | Required | Description |
|---|---|---|
X-Flume-Partner-Key | Yes | Your partner key. See Authentication and keys. |
X-Flume-User-Token | Yes | The access token of the user you call for. See Users and verification. |
Path parameters
| Parameter | Type | Description |
|---|---|---|
sku_uuid | string | The product's id, from a search result. |
This call takes no body.
Returns
200 with these fields. Every field is always present. A field with no value is null.
sku_uuidstring (UUID)The product's id.
categoryenumWhat the product is:
TILEorFLOORING.namestringThe product's name, written by Flume from its specification.
as_low_as_per_sqftstring or nullThe lowest delivered price per square foot, before tax. An instant quote for a real quantity and ZIP code can be higher.
nullwhenprice_on_requestistrue.price_on_requestbooleantrue: Flume's sales team prices this product, and there is no instant quote.image_urlsarray of stringsProduct photos, the main one first.
at_a_glancearray of objectsThe key facts, in display order. Tile only. Empty for flooring.
specificationarray of objectsThe full specification, in groups. A property the product does not state is left out.
ShowHide the 2 fields of
specificationgroupstringThe group's heading.
rowsarray of objectsThe lines in the group.
ShowHide the 3 fields of
rowslabelstringThe property's name.
valuestringThe property's value.
test_methodstring or nullThe test standard, when one is stated.
shipping_optionsarray of objectsThe ways the product ships.
ShowHide the 5 fields of
shipping_optionssourceenumUS_WAREHOUSE(stocked in the US) orOVERSEAS_DIRECT(shipped from the factory abroad).ships_from_countrystring or nullThe 2-letter code of the country the option ships from, or
null.minimum_order_sqftinteger or nullThe smallest order this option ships, in square feet.
lead_time_min_daysintegerThe shortest delivery time, in days.
lead_time_max_daysintegerThe longest delivery time, in days.
suitable_application_areasarray of objectsEvery area where the product can be used: floors first, then walls, then the rest. Empty for vinyl flooring, or when Flume knows none.
Errors
Every error uses one envelope. Branch on error.code.
| Status | Code | Meaning |
|---|---|---|
| 401 | EMBED_TOKEN_INVALID | You sent an Authorization header and no X-Flume-Partner-Key. Flume read the call as one from its own iframe. |
| 401 | PARTNER_KEY_INVALID | The partner key is missing, unknown, revoked, expired, or from the other environment. On live, also a platform Flume has not enabled yet. |
| 401 | USER_TOKEN_INVALID | The user access token is unknown, revoked, another partner's, or replaced by a later verification. A verification in the iframe replaces it too. |
| 403 | USER_ACCOUNT_CLOSED | The user's email belongs to a Flume account that Flume has closed. |
| 403 | USER_NOT_CONNECTED | No X-Flume-User-Token header was sent. |
| 404 | NOT_FOUND | The thing does not exist, or is not this user's. A search id that is not a UUID also returns this code. |
| 422 | VALIDATION_FAILED | A field is missing, unknown or has an unusable value. field names it as a dotted path. Some refusals carry the detail in details and leave field empty. |
| 500 | INTERNAL | Something failed on Flume's side. |