Skip to main content
PATCH
/
v1
/
payment-concepts
/
{id}
Update payment concept
curl --request PATCH \
  --url https://api.quentli.com/v1/payment-concepts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": {
    "data": {
      "displayName": "Colegiatura Preparatoria",
      "sku": "COL-PREP-001",
      "description": null,
      "active": true,
      "amount": 150000,
      "amountEditable": false,
      "archivedAt": null,
      "archivedById": null,
      "currency": "MXN",
      "groupId": null,
      "quantityEditable": false,
      "recurrentDetail": null,
      "chargeEach": null,
      "collectionInterval": null,
      "toleranceDays": null,
      "taxInfo": null,
      "metadata": [],
      "meta": null
    }
  }
}
'
{
  "paymentConcept": {
    "id": "pc_1234567890abcdefghij",
    "createdAt": "2025-01-01T00:00:00.000Z",
    "updatedAt": "2025-01-01T00:00:00.000Z",
    "displayName": "Colegiatura",
    "amount": 150000,
    "currency": "MXN",
    "organizationId": "org_1234567890abcdefghij",
    "active": true,
    "amountEditable": false,
    "quantityEditable": false,
    "oneOff": false,
    "groupId": null,
    "description": "Colegiatura mensual de preparatoria",
    "sku": "COL-PREP-001",
    "recurrentDetailId": null,
    "recurrentDetail": null
  }
}

Authorizations

Authorization
string
header
required

Organization API key using Authorization: Bearer sk_....

Path Parameters

id
string
required

Identifier of the payment concept.

Body

application/json

Request body for updating a payment concept (id is provided in the URL path).

input
object
required

Response

Payment concept updated

Updated payment concept.

paymentConcept
object
required

A product or service template used to define invoice line items.