billing-theme

Update a billing theme name

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

Request

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

Path parameters

themeIdstring required

ID of the theme to update

Request body

namestring required

Name of the theme

Example request

{
  "name": "Mon thème personnalisé"
}

Response

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