- Prepare your Schema
- Prepare your Catalog
- Upload your Feed
- Full Feed Upload
- Delta Feed Upload
- Single Record Upload
- Check Product Count
- JavaScript Based Integration
- HTML Based Integration
- Introduction to GTM
- Requirements
- Introduction
- Events
- API Integration
- Search Endpoint
- Authentication
- Header
- Request Parameter
- Response Components
- Explanation Request Parameter
- PDP API Format
- Sample Request
- Request Parameters
- Response Parameters
- System Requirements
- Install SDK
- Initialize SDK
- Unbxd Commerce Search
- Integrating Unbxd Autosuggest
- Unbxd Analytics
- Unbxd Browse
- Unbxd Recommendations
- Sample App
- Installation
- Unbxd Analytics
- Unbxd Commerce Search
- Unbxd Autosuggest
- Unbxd Browse
- Unbxd Recommendations
- Sample iOS App
- Quickstart with Unbxd Template
- Quick Integration to your site
- Detailed Guide
- Authentication
- Types of Pages to Render
- Configuring the Page
- Instance Methods
- More Information
- Available Configurations
- Libraries
- QuickStart
- Authentication
- Configuring Autosuggest
- Sample Options Object
- Handlebar Functions
- List of Configs
- Search Template
- Loader Config
- Facet Config
- Pagination
- Spellcheck
- Sort Config
- PageSize Config
- Breadcrumb Config
- Product Views
- Variants
- Quick Integration with Unbxd template
- Quick Integration to your site
- Installation
- Authentication
- Types of pages to render
- Configuring the page
- PageSize Config
- More Info
- Endpoint
- Authentication
- Headers
- Request Parameters
- API Response
- Response Components
- Create an Unbxd Account
- Create an Unbxd Site
- Upload a Catalog
- Setup Search
- Integrate Search
- Create an Unbxd Account
- Create an Unbxd Site
- Upload a Catalog
- Setup Search
- Integrate Search
- Plugin Installation
- Configuration
- Uninstallation
- Test Plugin Installation
- Installation
- Authentication
- Catalog
- Catalog Sync
- Product Integration
- Custom Template
- Indexing Queue View
- Feed View
- Upgrade
- Uninstall
- Installation
- Authentication
- Catalog
- Cron Job
- Product Config
- Uninstall
- Installation
- Configuration
PDP API
NOTE: PDP API is not added by default. It has an additional cost to integrate PDP APIs. For any additional queries, reach out to our support team.
The PDP API powers the product display pages on your e-commerce site by returning all the product information associated with a product ID. The PDP API also fetches information for one or more than one product ID.
You can either view information for a specific product or a product listing with products linked to different product ids. If there are variants of a product, PDP API will include the variants info in the response.
PDP API Format
To integrate this API, you need to make the following API call to Unbxd servers.
Authorization
To authorize your calls, add the API key as the header before making the API call.
Authorization : “API_KEY”
NOTE: The authorization for PDP API is different than the search one.
Fetch product details using a product-id
You can get products details of a product by calling the sample API.
Method : GET
End Point:https://search.unbxd.io/sites/site-key/<API key>/products/
Parameter : product-id
Fetch Product details for more than one product
You can get products details of multiple products by using product ID’s.
Method : GET
End Point:https://search.unbxd.io/sites/site-key/products?id=<product_id1>,<product_id2>
Parameter : Comma separated list of product-id
Get Siblings for a product
You can use the rel feature to find any external relationship for a product. This feature fetches all the related parent products.
Method : GET
End Point:https://search.unbxd.io/sites/<sitekey>/products/<id1>?rel.field=<fieldName>
Parameter :
product-id
rel.field={fieldName}
This returns list of sibling products details of a , using filter field passed as the query parameter.
NOTE: While using the rel feature, the variants feature will be disabled.
- Did this answer your question?
In this Section
- To create a Query Rule
- To Edit a Query Rule
- Site Rule