Skip to main content
PUT
/
api
/
rest
/
customer_payment_line_items
/
{id}
Update One Customer Payment Line Item
curl --request PUT \
  --url https://api.upwell.com/api/rest/customer_payment_line_items/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "input": {
    "checkDate": "2023-12-25",
    "checkOrAchNumber": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "currency": "AED",
    "customerId": "<string>",
    "exchangeRate": "<string>",
    "fees": 123,
    "id": "<string>",
    "invoiceId": "<string>",
    "notes": "<string>",
    "paymentId": "<string>",
    "sourceSystem": "<string>",
    "sourceSystemId": "<string>",
    "sourceSystemMeta": "<unknown>",
    "status": "<string>",
    "tenantId": "<string>",
    "totalAmount": 123,
    "totalAmountWithFees": 123,
    "transactionDate": "2023-12-25",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}
'
{
  "updateCustomerPaymentLineItem": {
    "checkDate": "2023-12-25",
    "checkOrAchNumber": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "currency": "AED",
    "customerId": "<string>",
    "exchangeRate": "<string>",
    "fees": 123,
    "id": "<string>",
    "invoiceId": "<string>",
    "notes": "<string>",
    "paymentId": "<string>",
    "sourceSystemId": "<string>",
    "sourceSystemMeta": "<unknown>",
    "status": "<string>",
    "totalAmount": 123,
    "totalAmountWithFees": 123,
    "transactionDate": "2023-12-25",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Path Parameters

id
string
required

"id" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

id
string
input
PaymentLineItemsSetInput · object

input type for updating data in table "payment_line_items"

Response

200 - application/json

Responses for PUT /api/rest/customer_payment_line_items/{id}

updateCustomerPaymentLineItem
PaymentLineItems · object

columns and relationships of "payment_line_items"