Quote Payment

The quote payment resource.

Basehttps://rest.carbon.ms/quotePayment
GET/quotePayment

List quote payments

Retrieve a paginated list of quote payments. Filter, order, and select columns with PostgREST query parameters.

Query parameters

selectstring

Comma-separated columns to return. Defaults to all.

orderstring

Column to sort by, e.g. `createdAt.desc`.

limitinteger

Maximum rows to return.

offsetinteger

Rows to skip, for pagination.

GEThttps://rest.carbon.ms/quotePayment
curl --request GET \
  --url 'https://rest.carbon.ms/quotePayment?select=*&limit=10' \
  --header 'Authorization: Bearer <api-key>'
Response
[
  {
    "id": "abc123def456",
    "companyId": "xyz789",
    "invoiceCustomerId": "xyz789",
    "invoiceCustomerLocationId": "xyz789",
    "invoiceCustomerContactId": "xyz789",
    "paymentTermId": "xyz789",
    "updatedAt": "2026-01-01T00:00:00Z",
    "updatedBy": "string"
  }
]
GET/quotePayment

Retrieve a quote payment

Fetch a single quote payment by filtering on `id`.

Query parameters

idstring

Match on the quote payment's `id`, e.g. `eq.{id}`.

GEThttps://rest.carbon.ms/quotePayment
curl --request GET \
  --url 'https://rest.carbon.ms/quotePayment?id=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>'
Response
{
  "id": "abc123def456",
  "companyId": "xyz789",
  "invoiceCustomerId": "xyz789",
  "invoiceCustomerLocationId": "xyz789",
  "invoiceCustomerContactId": "xyz789",
  "paymentTermId": "xyz789",
  "updatedAt": "2026-01-01T00:00:00Z",
  "updatedBy": "string"
}
POST/quotePayment

Create a quote payment

Create a new quote payment.

Body parameters

invoiceCustomerIdstring

References customer.id

invoiceCustomerLocationIdstring

References customerLocation.id

invoiceCustomerContactIdstring

References customerContact.id

paymentTermIdstring

References paymentTerm.id

companyIdstringrequired

References company.id

customFieldsobject
POSThttps://rest.carbon.ms/quotePayment
curl --request POST \
  --url https://rest.carbon.ms/quotePayment \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Prefer: return=representation' \
  --data '{"companyId":"xyz789"}'
Response
{
  "id": "abc123def456",
  "companyId": "xyz789",
  "invoiceCustomerId": "xyz789",
  "invoiceCustomerLocationId": "xyz789",
  "invoiceCustomerContactId": "xyz789",
  "paymentTermId": "xyz789",
  "updatedAt": "2026-01-01T00:00:00Z",
  "updatedBy": "string"
}
PATCH/quotePayment

Update a quote payment

Update an existing quote payment, matched on `id`.

Body parameters

invoiceCustomerIdstring

References customer.id

invoiceCustomerLocationIdstring

References customerLocation.id

invoiceCustomerContactIdstring

References customerContact.id

paymentTermIdstring

References paymentTerm.id

companyIdstringrequired

References company.id

customFieldsobject
PATCHhttps://rest.carbon.ms/quotePayment
curl --request PATCH \
  --url 'https://rest.carbon.ms/quotePayment?id=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Prefer: return=representation' \
  --data '{"invoiceCustomerId":"xyz789"}'
Response
{
  "id": "abc123def456",
  "companyId": "xyz789",
  "invoiceCustomerId": "xyz789",
  "invoiceCustomerLocationId": "xyz789",
  "invoiceCustomerContactId": "xyz789",
  "paymentTermId": "xyz789",
  "updatedAt": "2026-01-01T00:00:00Z",
  "updatedBy": "string"
}
DELETE/quotePayment

Delete a quote payment

Delete a quote payment, matched on `id`. Returns 204 No Content.

Query parameters

idstring

The `id` of the quote payment to delete, e.g. `eq.{id}`.

DELETEhttps://rest.carbon.ms/quotePayment
curl --request DELETE \
  --url 'https://rest.carbon.ms/quotePayment?id=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>'
204 No Content