Customers

Change the collection preferences for a customer

Changed on

A field left out of the body is unchanged. partialPayments takes at most one of minimumAmount or minimumPercentage.

patch/customers/{customerId}/collection_preferences

Request

  • Base URL
    https://api.adfin.com/api
  • URL
    https://api.adfin.com/api/customers/{customerId}/collection_preferences
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.staging.adfin.com/api/oauth2/token
    • or OAuth 2
      Client credentials
      Token URL: https://api.adfin.com/api/oauth2/token

Path parameters

customerIdstring uuid required

The identifier of the customer.

Request body

collectionMethod'AUTO_COLLECT' | 'ON_DEMAND'

The collection method to use.

Response

The change was applied.

Changes

    • info

      added the new optional request property /

    • warning

      the // request property's exclusiveMinimum was set to 0.00

    • warning

      the // request property's min was set to 0.00

    • warning

      the // request property's min was set to 0.00