Sign in

Update pricing table in document

documented

Update a document's pricing table (Edit After Send workflow).

PUT /v1/documents/{document_id}/pricing-tablesDocumentsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.getaccept.com/v1/documents/{{$document_id}}/pricing-tables" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-Api-Key: {{GETACCEPT_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"is_automatic_sending": false, "is_reminder_sending": false, "name": "Pricing Table Demo Offer", "template_id": "{{$template_id}}", "recipients": [{"first_name": "{{$recipient_first_name}}", "last_name": "{{$recipient_last_name}}", "email": "{{$recipient_email}}", "role": "{{$recipient_role}}"}], "custom_pricing_tables": [{"id": "{{$pricing_table_id}}", "locked": {{$pricing_table_locked}}, "display_name": "{{$pricing_table_display_name}}", "currency_settings": {"locale": "{{$currency_locale}}", "currency": "{{$currency_code}}"}, "summary_values": {"tax": {"value": "{{$tax_value}}", "flat_fee": {{$tax_flat_fee}}, "enabled": {{$tax_enabled}}}, "price": {"value": "{{$price_value}}", "flat_fee": {{$price_flat_fee}}, "enabled": {{$price_enabled}}}, "discount": {"value": "{{$discount_value}}", "flat_fee": {{$discount_flat_fee}}, "enabled": {{$discount_enabled}}}}, "sections": [{"id": "{{$section_id}}", "display_name": "{{$section_display_name}}", "rows": [{"values": [{"column_id": "{{$column_id_1}}", "value": "{{$row_value_1}}"}, {"column_id": "{{$column_id_2}}", "value": "{{$row_value_2}}"}, {"column_id": "{{$column_id_3}}", "value": "{{$row_value_3}}"}, {"column_id": "{{$column_id_4}}", "value": "{{$row_value_4}}"}, {"column_id": "{{$column_id_5}}", "value": "{{$row_value_5}}"}]}]}], "pre_calculated": {{$pre_calculated}}}]}'
Update pricing table in document · GetAccept · OpenIntegrations