How to retrieve product data using Flowbox's API
Prerequisites
Before you start, ensure you have the following:
- API key: Your unique API authentication key. If you don't have it yet, please contact your CSM and they'll provide it to you.
API Endpoint
To retrieve product data from Flowbox, use the following 'GET' request:
https://external-api.getflowbox.com/v2/products/{productKeys}| You can find more information and make test calls in our Swaggerhub page.
Purpose
This endpoint is used to return a data object containing product information. The 'productKeys' parameter is required and specifies which products to retrieve. You can provide one or more 'productKeys', separated by commas, to retrieve multiple products in a single request.
Required Parameters
Parameter | Type | Location | Description |
|---|---|---|---|
| string | header | Your API authentication key. Must be included in every request. |
| string | path | Comma-separated list of product keys to retrieve. Can be one or more. Product keys can be obtained from the |
| string | query | Locale of the products to be returned. Must match the locale of one of your catalogs. Use lowercase format, e.g. |
Example API Request
curl -X 'GET' \
'https://external-api.getflowbox.com/v2/products/2553_712400_bEgYqAhMMhmO3tzsSOkteg%2C2553_10102952_bEgYqAhMMhmO3tzsSOkteg?locale=en-us' \
-H 'accept: application/json' \
-H 'api-key: YOUR_API_KEY_HERE'In this example, the request would retrieve data for two products: '2553_712400_bEgYqAhMMhmO3tzsSOkteg' and '2553_10102952_bEgYqAhMMhmO3tzsSOkteg'.
Response
The API will return a data object containing a product array, with the details of each product as retrieved from your account's Catalog:
Root:
Field | Type | Description |
|---|---|---|
| string | Request status. One of: |
| array | List of product objects. See Product object table below. |
| string | CTA button label configured in the Flowbox Catalog. |
| string | CTA title text configured in the Flowbox Catalog. |
| string | Locale of the returned products, e.g. |
Product (object):
Field | Type | Description |
|---|---|---|
| string | Product key for this specific product. Format: |
| string | Product identifier used to process the product in Flowbox. |
| object | Product rating data (stars). Returns |
| object | Product details as provided in your product feed. See Details object table below. |
Details (object):
Field | Type | Description |
|---|---|---|
| string | Product ID as provided in your product feed. |
| string | Manufacturer Part Number. |
| string | URL to the product's page. |
| string | Global Trade Item Number. |
| string | Display name of the product. |
| string | Size of the product, e.g. |
| string | Brand or manufacturer name. |
| string | Color of the product. |
| string | Base price of the product as a string, without currency symbol. |
| string | Target gender, e.g. |
| string | Direct URL to the product's main image. |
| string | Pattern or print of the product, e.g. |
| string | Flowbox-specific category field. Equal to either |
| string | ISO 4217 currency code, e.g. |
| string | Material composition, e.g. |
| string | Target age group, e.g. |
| string | Discounted sale price as a string. |
| string | Stock status. One of: |
| string | Category path as defined in the merchant's taxonomy, in breadcrumb-style format. |
| string | Identifier grouping product variants (e.g. different colors or sizes) under the same parent product. |
| string | Google-defined product category ID or path, used for Google Shopping feeds. |
| string | Date range during which |
| string | Pre-formatted string combining price and currency code, e.g. |
| string | Pre-formatted string combining sale price and currency code. Returns |
You can find more information and make test calls in our Swaggerhub page.