cURL
curl --request GET \
--url https://{base-address}/apis/ecommerce-service/public/discovery/v2/banners{
"Status": "<string>",
"Data": {
"records": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"config": {
"desktop": {
"is_hidden": true,
"type": "<string>",
"image": {
"banner_image": {
"id": "<string>",
"item": "<string>",
"relative_path": "<string>",
"file_meta_data": {
"name": "<string>",
"size": 123
},
"original_file_name": "<string>",
"field_name": "<string>"
},
"title": "<string>",
"max_height": 123,
"alt_tag": "<string>",
"redirect_url": "<string>",
"is_open_in_new_tab": true
},
"html": {
"content": "<string>",
"max_height": 123
},
"video": {
"url": "<string>",
"iframe_attributes": "<string>",
"max_height": 123,
"max_width": 123
},
"onclick_event": "<string>",
"onload_event": "<string>",
"layout_attributes": {
"id": "<string>",
"layout_name": "<string>",
"type": "<string>",
"rows": 123,
"columns": 123,
"is_full_width": true,
"layout_image": "<string>"
}
},
"tablet": {
"is_hidden": true,
"is_desktop_override": true,
"type": "<string>",
"image": {
"banner_image": {
"id": "<string>",
"item": "<string>",
"relative_path": "<string>",
"file_meta_data": {
"name": "<string>",
"size": 123
},
"original_file_name": "<string>",
"field_name": "<string>"
},
"title": "<string>",
"max_height": 123,
"alt_tag": "<string>",
"redirect_url": "<string>",
"is_open_in_new_tab": true
},
"html": {
"content": "<string>",
"max_height": 123
},
"video": {
"url": "<string>",
"iframe_attributes": "<string>",
"max_height": 123,
"max_width": 123
},
"onclick_event": "<string>",
"onload_event": "<string>",
"layout_attributes": {
"id": "<string>",
"layout_name": "<string>",
"type": "<string>",
"rows": 123,
"columns": 123,
"is_full_width": true,
"layout_image": "<string>"
}
},
"mobile": {
"is_hidden": true,
"is_desktop_override": true,
"type": "<string>",
"image": {
"banner_image": {
"id": "<string>",
"item": "<string>",
"relative_path": "<string>",
"file_meta_data": {
"name": "<string>",
"size": 123
},
"original_file_name": "<string>",
"field_name": "<string>"
},
"title": "<string>",
"max_height": 123,
"alt_tag": "<string>",
"redirect_url": "<string>",
"is_open_in_new_tab": true
},
"html": {
"content": "<string>",
"max_height": 123
},
"video": {
"url": "<string>",
"iframe_attributes": "<string>",
"max_height": 123,
"max_width": 123
},
"onclick_event": "<string>",
"onload_event": "<string>",
"layout_attributes": {
"id": "<string>",
"layout_name": "<string>",
"type": "<string>",
"rows": 123,
"columns": 123,
"is_full_width": true,
"layout_image": "<string>"
}
}
},
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z"
}
],
"_meta_": {
"tenant_id": "<string>",
"workspace_id": "<string>",
"env_type": "<string>",
"store_hash": "<string>",
"total_count": 123
}
}
}Discovery APIs
Get Banners By Ids
Fetch banners for display in the e-commerce interface. Supports field selection and filtering to retrieve relevant banner content.
GET
/
apis
/
ecommerce-service
/
public
/
discovery
/
v2
/
banners
cURL
curl --request GET \
--url https://{base-address}/apis/ecommerce-service/public/discovery/v2/banners{
"Status": "<string>",
"Data": {
"records": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"config": {
"desktop": {
"is_hidden": true,
"type": "<string>",
"image": {
"banner_image": {
"id": "<string>",
"item": "<string>",
"relative_path": "<string>",
"file_meta_data": {
"name": "<string>",
"size": 123
},
"original_file_name": "<string>",
"field_name": "<string>"
},
"title": "<string>",
"max_height": 123,
"alt_tag": "<string>",
"redirect_url": "<string>",
"is_open_in_new_tab": true
},
"html": {
"content": "<string>",
"max_height": 123
},
"video": {
"url": "<string>",
"iframe_attributes": "<string>",
"max_height": 123,
"max_width": 123
},
"onclick_event": "<string>",
"onload_event": "<string>",
"layout_attributes": {
"id": "<string>",
"layout_name": "<string>",
"type": "<string>",
"rows": 123,
"columns": 123,
"is_full_width": true,
"layout_image": "<string>"
}
},
"tablet": {
"is_hidden": true,
"is_desktop_override": true,
"type": "<string>",
"image": {
"banner_image": {
"id": "<string>",
"item": "<string>",
"relative_path": "<string>",
"file_meta_data": {
"name": "<string>",
"size": 123
},
"original_file_name": "<string>",
"field_name": "<string>"
},
"title": "<string>",
"max_height": 123,
"alt_tag": "<string>",
"redirect_url": "<string>",
"is_open_in_new_tab": true
},
"html": {
"content": "<string>",
"max_height": 123
},
"video": {
"url": "<string>",
"iframe_attributes": "<string>",
"max_height": 123,
"max_width": 123
},
"onclick_event": "<string>",
"onload_event": "<string>",
"layout_attributes": {
"id": "<string>",
"layout_name": "<string>",
"type": "<string>",
"rows": 123,
"columns": 123,
"is_full_width": true,
"layout_image": "<string>"
}
},
"mobile": {
"is_hidden": true,
"is_desktop_override": true,
"type": "<string>",
"image": {
"banner_image": {
"id": "<string>",
"item": "<string>",
"relative_path": "<string>",
"file_meta_data": {
"name": "<string>",
"size": 123
},
"original_file_name": "<string>",
"field_name": "<string>"
},
"title": "<string>",
"max_height": 123,
"alt_tag": "<string>",
"redirect_url": "<string>",
"is_open_in_new_tab": true
},
"html": {
"content": "<string>",
"max_height": 123
},
"video": {
"url": "<string>",
"iframe_attributes": "<string>",
"max_height": 123,
"max_width": 123
},
"onclick_event": "<string>",
"onload_event": "<string>",
"layout_attributes": {
"id": "<string>",
"layout_name": "<string>",
"type": "<string>",
"rows": 123,
"columns": 123,
"is_full_width": true,
"layout_image": "<string>"
}
}
},
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z"
}
],
"_meta_": {
"tenant_id": "<string>",
"workspace_id": "<string>",
"env_type": "<string>",
"store_hash": "<string>",
"total_count": 123
}
}
}Before calling this endpoint, make sure you’ve generated an API token and picked the correct domain. See Authentication & Base URLs.Documentation Index
Fetch the complete documentation index at: https://help.experro.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
E-commerce provider for contextualizing the API call (e.g., shopify, magento, etc.).
Query Parameters
Comma-separated list of specific banner IDs to retrieve
Comma-separated list of fields to include in the response
Specifies the language or region for the response data
Maximum number of items to return.
Number of items to skip for pagination offset.
Field used to sort the results.
Order in which to sort assets: asc (oldest first) or desc (newest first).
⌘I