billing-theme

Update a billing theme links

Changed on
put/v2/billing/theme/{themeId}/links

Request

  • Base URL: https://api.abby.fr
  • URL: https://api.abby.fr/v2/billing/theme/{themeId}/links
  • Auth: HTTP bearer

Path parameters

themeIdstring required

ID of the theme to update

Request body

Example request

{
  "links": {
    "items": [
      {
        "icon": "lucide:globe",
        "url": "https://mon-entreprise.fr"
      }
    ],
    "iconSize": 20
  }
}

Response

Theme links updated successfully

idstring required
namestring required
documentTypesBillingType[] required
createdAtnumber required
updatedAtnumber required
isDefaultboolean required

True when this theme is assigned to every billing document type for the company (single default theme).

lockedPathsstring[] required

Dot-paths constrained by the current template, e.g. ["margins.top"]. Front uses this to disable matching controls.

Example response

{
  "id": "019c064c-c933-78c1-b748-4ecdf8753521",
  "name": "Mon thème personnalisé",
  "structure": {
    "creatorName": "Abby",
    "creatorImageUrl": "/plans/mini_abby_free.svg",
    "thumbnailUrl": "/billing/templates/template-1.png"
  },
  "createdAt": 1617619200,
  "updatedAt": 1617619200
}

Changes

    • breaking

      the / response's property type changed from number to string for status

    • warning

      added the new advance enum value to the / response property for the response status

    • warning

      added the new asset enum value to the / response property for the response status

    • warning

      added the new estimate enum value to the / response property for the response status

    • warning

      added the new invoice enum value to the / response property for the response status

    • warning

      added the new purchase_order enum value to the / response property for the response status

    This list may be incomplete.