billing-theme

Update a billing theme table

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

Request

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

Path parameters

themeIdstring required

ID of the theme to update

Request body

alternateRowsboolean required

Alternate row colors

showBordersboolean required

Show table borders

coloredHeaderboolean required

Color the header row

borderRadiusnumber required

Border radius (0-25)

Example request

{
  "columns": [
    {
      "active": true
    }
  ],
  "alternateRows": true,
  "coloredHeader": true,
  "borderRadius": 10
}

Response

Theme table 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.