curl -X PATCH https://qwoty.app/api/prices/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer qwoty_your_token" \
-H "Content-Type: application/json" \
-d '{
"amount": 129.99,
"floor_price": 99.99,
"identifiers[crm]": "crm_price_updated",
"identifiers[erp]": "erp_price_updated",
"identifiers[accounting]": "acc_price_updated"
}'
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"product_variant_id": "660e8400-e29b-41d4-a716-446655440001",
"product_variant_name": "Premium Widget",
"product_id": "770e8400-e29b-41d4-a716-446655440002",
"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": 129.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": 99.99,
"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_updated",
"erp": "erp_price_updated",
"accounting": "acc_price_updated"
},
"workspace_id": "cc0e8400-e29b-41d4-a716-446655440007",
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T15:20:00Z"
}
}
Update an existing price configuration
curl -X PATCH https://qwoty.app/api/prices/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer qwoty_your_token" \
-H "Content-Type: application/json" \
-d '{
"amount": 129.99,
"floor_price": 99.99,
"identifiers[crm]": "crm_price_updated",
"identifiers[erp]": "erp_price_updated",
"identifiers[accounting]": "acc_price_updated"
}'
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"product_variant_id": "660e8400-e29b-41d4-a716-446655440001",
"product_variant_name": "Premium Widget",
"product_id": "770e8400-e29b-41d4-a716-446655440002",
"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": 129.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": 99.99,
"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_updated",
"erp": "erp_price_updated",
"accounting": "acc_price_updated"
},
"workspace_id": "cc0e8400-e29b-41d4-a716-446655440007",
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T15:20:00Z"
}
}
Updates an existing price with partial data (PATCH semantics). Only provided fields are updated. Creation-only fields cannot be modified.Documentation Index
Fetch the complete documentation index at: https://docs.qwoty.io/llms.txt
Use this file to discover all available pages before exploring further.
flat, volume, graduated, percent, cost_based, or
noneall, product_type, or productforever or fixed_periodproduct_variant_idpricebook_idcurrency_id{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"product_variant_id": "660e8400-e29b-41d4-a716-446655440001",
"product_variant_name": "Premium Widget",
"product_id": "770e8400-e29b-41d4-a716-446655440002",
"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": 129.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": 99.99,
"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_updated",
"erp": "erp_price_updated",
"accounting": "acc_price_updated"
},
"workspace_id": "cc0e8400-e29b-41d4-a716-446655440007",
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T15:20:00Z"
}
}
curl -X PATCH https://qwoty.app/api/prices/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer qwoty_your_token" \
-H "Content-Type: application/json" \
-d '{
"amount": 129.99,
"floor_price": 99.99,
"identifiers[crm]": "crm_price_updated",
"identifiers[erp]": "erp_price_updated",
"identifiers[accounting]": "acc_price_updated"
}'
Was this page helpful?