Supplier Payment
The supplier payment resource.
/supplierPaymentList supplier payments
Retrieve a paginated list of supplier payments. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows to skip, for pagination.
curl --request GET \
--url 'https://rest.carbon.ms/supplierPayment?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'[
{
"supplierId": "xyz789",
"companyId": "xyz789",
"invoiceSupplierId": "xyz789",
"invoiceSupplierLocationId": "xyz789",
"invoiceSupplierContactId": "xyz789",
"paymentTermId": "xyz789",
"updatedAt": "2026-01-01T00:00:00Z",
"updatedBy": "string"
}
]/supplierPaymentRetrieve a supplier payment
Fetch a single supplier payment by filtering on `supplierId`.
Query parameters
supplierIdstringMatch on the supplier payment's `supplierId`, e.g. `eq.{id}`.
curl --request GET \
--url 'https://rest.carbon.ms/supplierPayment?supplierId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'{
"supplierId": "xyz789",
"companyId": "xyz789",
"invoiceSupplierId": "xyz789",
"invoiceSupplierLocationId": "xyz789",
"invoiceSupplierContactId": "xyz789",
"paymentTermId": "xyz789",
"updatedAt": "2026-01-01T00:00:00Z",
"updatedBy": "string"
}/supplierPaymentCreate a supplier payment
Create a new supplier payment.
Body parameters
invoiceSupplierIdstringReferences supplier.id
invoiceSupplierLocationIdstringReferences supplierLocation.id
invoiceSupplierContactIdstringReferences supplierContact.id
paymentTermIdstringReferences paymentTerm.id
companyIdstringrequiredReferences company.id
customFieldsobjecttagsarraycurl --request POST \
--url https://rest.carbon.ms/supplierPayment \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"companyId":"xyz789"}'{
"supplierId": "xyz789",
"companyId": "xyz789",
"invoiceSupplierId": "xyz789",
"invoiceSupplierLocationId": "xyz789",
"invoiceSupplierContactId": "xyz789",
"paymentTermId": "xyz789",
"updatedAt": "2026-01-01T00:00:00Z",
"updatedBy": "string"
}/supplierPaymentUpdate a supplier payment
Update an existing supplier payment, matched on `supplierId`.
Body parameters
invoiceSupplierIdstringReferences supplier.id
invoiceSupplierLocationIdstringReferences supplierLocation.id
invoiceSupplierContactIdstringReferences supplierContact.id
paymentTermIdstringReferences paymentTerm.id
companyIdstringrequiredReferences company.id
customFieldsobjecttagsarraycurl --request PATCH \
--url 'https://rest.carbon.ms/supplierPayment?supplierId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"invoiceSupplierId":"xyz789"}'{
"supplierId": "xyz789",
"companyId": "xyz789",
"invoiceSupplierId": "xyz789",
"invoiceSupplierLocationId": "xyz789",
"invoiceSupplierContactId": "xyz789",
"paymentTermId": "xyz789",
"updatedAt": "2026-01-01T00:00:00Z",
"updatedBy": "string"
}/supplierPaymentDelete a supplier payment
Delete a supplier payment, matched on `supplierId`. Returns 204 No Content.
Query parameters
supplierIdstringThe `supplierId` of the supplier payment to delete, e.g. `eq.{id}`.
curl --request DELETE \
--url 'https://rest.carbon.ms/supplierPayment?supplierId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'