Single product with company pricing
Retrieve a single product by ID with pricing calculated for all active companies or filtered by specific company IDs. This provides comprehensive pricing information for the product across multiple companies in a single request.
The product will include a company_prices array containing pricing for each company
based on their assigned price levels, price groups, and applicable discounts or markups.
This endpoint returns complete product information including variants, substitutions, custom fields, and tags, with company pricing calculated for both the main product and any variants.
Pricing Calculation
The pricing system considers multiple factors for each company:
- Price Levels: Standard, Premium, VIP, Wholesale, etc.
- Price Groups: Customer segments like “Electronics Retailers”, “Bulk Distributors”
- Category Rules: Different pricing rules can apply to different product categories
- Markups/Discounts: Percentage increases or decreases based on customer type
Company Filtering
Use the company_id parameter to filter pricing to specific companies:
- Single company:
?company_id=1 - Multiple companies:
?company_id=1,2,3
Example Response
The response includes all standard product fields plus the company_prices array:
{
"data": {
"id": 1,
"name": "Test Product 1",
"sku": "SKU-001",
"retail_price": 99.99,
"wholesale_price": 79.99,
"company_prices": [
{
"company_id": 1,
"company_name": "Electronics Retailer Pro",
"price": 91.99
},
{
"company_id": 2,
"company_name": "Bulk Distribution Corp",
"price": 63.99
}
],
"variants": [
{
"id": 2,
"name": "Test Product 1 - Large",
"sku": "SKU-001-L",
"company_prices": [
{
"company_id": 1,
"company_name": "Electronics Retailer Pro",
"price": 101.99
}
]
}
]
}
}
Authorizations
Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.
Path Parameters
The ID of the product to retrieve
Query Parameters
Filter pricing to specific company IDs. Can be a single ID or comma-separated list. If not provided, pricing for all active companies will be included.
Response
Product with company pricing information