APICharge preset

Get a charge preset

GET
/public/v1/charge-presets/{id}

Get a single charge preset by ID. Returns 404 if no preset with that ID exists in your company or if it has been deleted.

Required permission: any of settings_permissions_charge_presets, or create/edit permission for orders, purchases, or invoices.

Authorization

Bearer
headerAuthorizationBearer <token>

API token generated in Distru (Settings → Distru API). Send it on every request as Authorization: Bearer YOUR_API_TOKEN.

Path Parameters

id*string

ID of the charge preset to fetch. An ID that doesn't exist for your company returns 404.

Response Body

A single charge preset

*/*
  1. response

A single charge preset

data?

A reusable, company-scoped template for a charge or discount line on a sales order, purchase, or invoice. Applying a preset copies its name, type, and amount onto the document's charge line; the line keeps those values on its own, so later edits to the preset never change charges already applied.

Example Request
curl -X GET 'https://app.distru.com/public/v1/charge-presets/a324b435-f4f4-453d-9b40-810061a38dc3'
Example Response
{  "data": {    "allow_inline_edits": false,    "auto_apply_tags_on_purchase_orders": true,    "auto_apply_tags_on_sales_orders": true,    "id": "a324b435-f4f4-453d-9b40-810061a38dc3",    "inserted_datetime": "2026-09-02T11:32:30.515868Z",    "name": "Delivery Fee",    "percent": "10.5",    "price": null,    "tags": [      {        "id": "00000000-0000-0000-0000-000000000019",        "name": "T1"      }    ],    "type": "CHARGE",    "unit_type": "PERCENT",    "updated_datetime": "2026-09-02T11:32:30.515868Z"  }}