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
}
}Updates editable fields of an existing payment concept by id.
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
}
}Organization API key using Authorization: Bearer sk_....
Identifier of the payment concept.
Request body for updating a payment concept (id is provided in the URL path).
Show child attributes
Payment concept updated
Updated payment concept.
A product or service template used to define invoice line items.
Show child attributes
Was this page helpful?