Invoices

Reset the collection preferences for an invoice

Changed on

Clears every override, not only these settings, including any set by Adfin or in the Adfin app. To turn a single setting off, PATCH it with an enabled of false instead. A pause set with :pause_collection survives.

delete/invoices/{invoiceId}/collection_preferences

Request

  • Base URL
    https://api.adfin.com/api
  • URL
    https://api.adfin.com/api/invoices/{invoiceId}/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

invoiceIdstring uuid required

The identifier of the invoice.

Response

The overrides held against the invoice are cleared. An invoice that holds none is left as it is.

Changes