curl -X GET "https://qwoty.app/api/prices?limit=50&offset=0" \
-H "Authorization: Bearer qwoty_your_token"
const response = await fetch('https://qwoty.app/api/prices?limit=50&offset=0', {
headers: {
Authorization: 'Bearer qwoty_your_token',
},
})
const { success, data, total, limit, offset } = await response.json()
import requests
response = requests.get(
'https://qwoty.app/api/prices',
params={'limit': 50, 'offset': 0},
headers={'Authorization': 'Bearer qwoty_your_token'},
)
body = response.json()
{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"product_id": "660e8400-e29b-41d4-a716-446655440001",
"product_variant_name": "Premium Widget",
"pricebook_id": "880e8400-e29b-41d4-a716-446655440003",
"pricebook_name": "Standard Pricebook",
"pricebook_type": "fixed",
"currency_id": "990e8400-e29b-41d4-a716-446655440004",
"currency_name": "Euro",
"currency_api_name": "EUR",
"pricing_model": "flat",
"amount": 99.99,
"volume_tiers": null,
"is_volume_grid_displayed": false,
"graduated_tiers": null,
"is_graduated_grid_displayed": false,
"percent": null,
"price_percentage_type": null,
"cost_multiplier": null,
"cost": 50.0,
"floor_price": 80.0,
"is_setup": false,
"is_pay_as_you_go": false,
"default_tax_id": "aa0e8400-e29b-41d4-a716-446655440005",
"default_tax_name": "VAT 20%",
"default_tax_rate": 20.0,
"default_tax_amount": null,
"default_tax_is_percentage": true,
"billing_frequency_id": null,
"billing_frequency_period": null,
"billing_frequency_unit": null,
"engagement_type": null,
"period_duration": null,
"parent_price_id": null,
"identifiers": {
"crm": "crm_price_001",
"erp": "erp_price_001",
"accounting": "acc_price_001"
},
"workspace_id": "cc0e8400-e29b-41d4-a716-446655440007",
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T14:45:00Z"
}
],
"total": 1,
"limit": 100,
"offset": 0
}
{
"success": true,
"data": [],
"total": 0,
"limit": 100,
"offset": 0
}
{
"success": false,
"error": "Failed to fetch prices"
}
Prices
List All Prices
Retrieve all prices for your workspace
GET
/
api
/
prices
curl -X GET "https://qwoty.app/api/prices?limit=50&offset=0" \
-H "Authorization: Bearer qwoty_your_token"
const response = await fetch('https://qwoty.app/api/prices?limit=50&offset=0', {
headers: {
Authorization: 'Bearer qwoty_your_token',
},
})
const { success, data, total, limit, offset } = await response.json()
import requests
response = requests.get(
'https://qwoty.app/api/prices',
params={'limit': 50, 'offset': 0},
headers={'Authorization': 'Bearer qwoty_your_token'},
)
body = response.json()
{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"product_id": "660e8400-e29b-41d4-a716-446655440001",
"product_variant_name": "Premium Widget",
"pricebook_id": "880e8400-e29b-41d4-a716-446655440003",
"pricebook_name": "Standard Pricebook",
"pricebook_type": "fixed",
"currency_id": "990e8400-e29b-41d4-a716-446655440004",
"currency_name": "Euro",
"currency_api_name": "EUR",
"pricing_model": "flat",
"amount": 99.99,
"volume_tiers": null,
"is_volume_grid_displayed": false,
"graduated_tiers": null,
"is_graduated_grid_displayed": false,
"percent": null,
"price_percentage_type": null,
"cost_multiplier": null,
"cost": 50.0,
"floor_price": 80.0,
"is_setup": false,
"is_pay_as_you_go": false,
"default_tax_id": "aa0e8400-e29b-41d4-a716-446655440005",
"default_tax_name": "VAT 20%",
"default_tax_rate": 20.0,
"default_tax_amount": null,
"default_tax_is_percentage": true,
"billing_frequency_id": null,
"billing_frequency_period": null,
"billing_frequency_unit": null,
"engagement_type": null,
"period_duration": null,
"parent_price_id": null,
"identifiers": {
"crm": "crm_price_001",
"erp": "erp_price_001",
"accounting": "acc_price_001"
},
"workspace_id": "cc0e8400-e29b-41d4-a716-446655440007",
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T14:45:00Z"
}
],
"total": 1,
"limit": 100,
"offset": 0
}
{
"success": true,
"data": [],
"total": 0,
"limit": 100,
"offset": 0
}
{
"success": false,
"error": "Failed to fetch prices"
}
Returns a list of all prices in your workspace with enriched data including product variant, pricebook, currency, and tax information.
Authentication
string
required
Bearer token for authentication
Query Parameters
number
default:"100"
Maximum number of prices to return. Min: 1, Max: 1000.
number
default:"0"
Number of prices to skip (for pagination).
Response
boolean
Indicates if the request was successful
array
Array of price objects with enriched data
Show Price Object
Show Price Object
uuid
Unique identifier for the price
uuid
ID of the product this price applies to
string
Name of the product variant (enriched)
uuid
ID of the pricebook containing this price
string
Name of the pricebook (enriched)
string
Type of pricebook:
fixed or dynamic (enriched)uuid
ID of the currency for this price
string
Name of the currency (enriched)
string
API name/code of the currency, e.g.,
EUR, USD (enriched)string
Pricing model:
flat, volume, graduated, percent, cost_based, or nonenumber | null
Fixed amount for flat pricing model
array | null
Array of volume tier objects for volume pricing
boolean
Whether to display volume tiers to customers
array | null
Array of graduated tier objects for graduated pricing
boolean
Whether to display graduated tiers to customers
number | null
Percentage value (0-100) for percent pricing
string | null
Scope of percentage pricing:
all, product_type, or productnumber | null
Multiplier for cost-based pricing
number | null
Cost price
number | null
Minimum price threshold
boolean
Whether this is a setup or one-time fee
boolean
Whether this uses pay-as-you-go billing
uuid | null
ID of the default sales tax
string | null
Name of the default tax (enriched)
number | null
Tax rate percentage (enriched)
number | null
Fixed tax amount (enriched)
boolean | null
Whether tax is percentage-based (enriched)
uuid | null
ID of the billing frequency for recurring prices
number | null
Number of periods (enriched)
string | null
Unit of period:
day, week, month, or year (enriched)string | null
Type of engagement:
forever or fixed_periodnumber | null
Duration in periods for fixed engagements
uuid | null
ID of parent price for dynamic pricebooks
object
timestamp
Timestamp of price creation
timestamp
Timestamp of last update
uuid
Workspace this price belongs to
number
Total number of prices in the workspace
number
Number of items returned per page
number
Number of items skipped
{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"product_id": "660e8400-e29b-41d4-a716-446655440001",
"product_variant_name": "Premium Widget",
"pricebook_id": "880e8400-e29b-41d4-a716-446655440003",
"pricebook_name": "Standard Pricebook",
"pricebook_type": "fixed",
"currency_id": "990e8400-e29b-41d4-a716-446655440004",
"currency_name": "Euro",
"currency_api_name": "EUR",
"pricing_model": "flat",
"amount": 99.99,
"volume_tiers": null,
"is_volume_grid_displayed": false,
"graduated_tiers": null,
"is_graduated_grid_displayed": false,
"percent": null,
"price_percentage_type": null,
"cost_multiplier": null,
"cost": 50.0,
"floor_price": 80.0,
"is_setup": false,
"is_pay_as_you_go": false,
"default_tax_id": "aa0e8400-e29b-41d4-a716-446655440005",
"default_tax_name": "VAT 20%",
"default_tax_rate": 20.0,
"default_tax_amount": null,
"default_tax_is_percentage": true,
"billing_frequency_id": null,
"billing_frequency_period": null,
"billing_frequency_unit": null,
"engagement_type": null,
"period_duration": null,
"parent_price_id": null,
"identifiers": {
"crm": "crm_price_001",
"erp": "erp_price_001",
"accounting": "acc_price_001"
},
"workspace_id": "cc0e8400-e29b-41d4-a716-446655440007",
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T14:45:00Z"
}
],
"total": 1,
"limit": 100,
"offset": 0
}
{
"success": true,
"data": [],
"total": 0,
"limit": 100,
"offset": 0
}
{
"success": false,
"error": "Failed to fetch prices"
}
curl -X GET "https://qwoty.app/api/prices?limit=50&offset=0" \
-H "Authorization: Bearer qwoty_your_token"
const response = await fetch('https://qwoty.app/api/prices?limit=50&offset=0', {
headers: {
Authorization: 'Bearer qwoty_your_token',
},
})
const { success, data, total, limit, offset } = await response.json()
import requests
response = requests.get(
'https://qwoty.app/api/prices',
params={'limit': 50, 'offset': 0},
headers={'Authorization': 'Bearer qwoty_your_token'},
)
body = response.json()
Was this page helpful?
⌘I

