Partially update a billing theme (except name)
Changed onRequest
- Base URL: https://api.abby.fr
- URL: https://api.abby.fr/v2/billing/theme/{themeId}
- Auth: HTTP bearer
Path parameters
ID of the theme to update
Request body
Example request
{
"logo": {
"id": "019c0650-50e6-7aa8-9426-6eb731b6162f",
"presetId": "logo-preset-1",
"size": 150
},
"colors": {
"primary": "#4F46E5",
"background": "#FFFFFF",
"text": "#1F2937"
},
"table": {
"columns": [
{
"active": true
}
],
"alternateRows": true,
"coloredHeader": true,
"borderRadius": 10
},
"decoration": {
"id": "019c0656-595f-783e-84ec-7c3bd0e26d19",
"presetId": "decoration-preset-1",
"opacity": 80
},
"footer": {
"logos": [
{
"id": "019c0650-50e6-7aa8-9426-6eb731b6162f",
"presetId": "additional-logo-preset-1"
}
]
},
"margins": {
"top": 40,
"bottom": 60,
"left": 40,
"right": 40
},
"links": {
"items": [
{
"icon": "lucide:globe",
"url": "https://mon-entreprise.fr"
}
],
"iconSize": 20
}
}Response
Theme updated successfully
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
removed the enum value
1.00of the request property/ - breaking
removed the enum value
2.00of the request property/ - breaking
removed the enum value
3.00of the request property/ - breaking
removed the enum value
4.00of the request property/ - breaking
removed the enum value
5.00of the request property/ - breaking
the
/request property type changed fromnumbertostring - breaking
the
/response's property type changed fromnumbertostringfor status - warning
added the new
advanceenum value to the/response property for the response status - warning
added the new
assetenum value to the/response property for the response status - warning
added the new
estimateenum value to the/response property for the response status - warning
added the new
invoiceenum value to the/response property for the response status - warning
added the new
purchase_orderenum value to the/response property for the response status
This list may be incomplete.
- breaking