Services and products

Catalog services and products, with prices and photos.

Values for the examples

Type them once and every example on this page uses them. The API key stays on this page only and is never saved.

GET/v1/services

Lists the catalog services and products.

ListOn success: 200.Permission: Read.

Query parameters

FieldTypeRequiredNotes
pageintegerNomin 1 · default 1
pageSizeintegerNomin 1 · max 100 · default 25
qstringNomin length 1 · max length 200
archivedstringNo
kind"service" | "product"No

Response

28 fields
FieldTypeAlways there
dataarray of objectYes
data[].archivedbooleanYes
data[].availabilitystringYes
data[].brandstring | nullYes
data[].categorynull in the examplesYes
data[].conditionstringYes
data[].createdAtstring (date-time)Yes
data[].createdBystring (uuid)Yes
data[].currencystringYes
data[].descriptionnull in the examplesYes
data[].gtinnull in the examplesYes
data[].idstring (uuid)Yes
data[].imagesarray of anyYes
data[].kindstringYes
data[].mpnnull in the examplesYes
data[].namestringYes
data[].organizationIdstring (uuid)Yes
data[].pricesobjectYes
data[].productGroupstring | nullYes
data[].productUrlnull in the examplesYes
data[].publicVisiblebooleanYes
data[].skustring | nullYes
data[].unitPriceintegerYes
data[].updatedAtstring (date-time)Yes
data[].updatedBystring (uuid)Yes
pageintegerYes
pageSizeintegerYes
totalintegerYes
Example
curl -X GET "https://api.firmado.app/v1/services" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "data": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "kind": "…",
      "sku": "…",
      "productGroup": "…",
      "brand": "…",
      "gtin": null,
      "mpn": null,
      "category": null,
      "productUrl": null,
      "condition": "…",
      "availability": "…",
      "images": [],
      "name": "Ana Lima",
      "description": null,
      "currency": "USD",
      "unitPrice": 1,
      "prices": {},
      "publicVisible": true,
      "archived": true,
      "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "updatedAt": "2026-11-21T14:00:00.000Z"
    }
  ],
  "page": 1,
  "pageSize": 1,
  "total": 1
}

POST/v1/services

Creates a service or a product.

CreateOn success: 201.Permission: Create.

Body

FieldTypeRequiredNotes
kind"service" | "product"Nodefault "service"
skustring | nullNo
productGroupstring | nullNo
brandstring | nullNo
gtinstring | nullNo
mpnstring | nullNo
categorystring | nullNo
productUrlstring (uri) | nullNo
condition"new" | "refurbished" | "used"No
availability"in_stock" | "out_of_stock" | "preorder"No
namestringYesmin length 1 · max length 200
descriptionstring | nullNo
currencystringNopattern ^[A-Z]{3}$
unitPriceintegerYesmin 0 · max 10000000000000
pricesobject of integerNo
publicVisiblebooleanNo
archivedbooleanNo

Response

24 fields
FieldTypeAlways there
archivedbooleanYes
availabilitystringYes
brandstring | nullYes
categorynull in the examplesYes
conditionstringYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
currencystringYes
descriptionstring | nullYes
gtinnull in the examplesYes
idstring (uuid)Yes
imagesarray of anyYes
kindstringYes
mpnnull in the examplesYes
namestringYes
organizationIdstring (uuid)Yes
pricesobjectYes
productGroupstring | nullYes
productUrlstring | null (uri)Yes
publicVisiblebooleanYes
skustring | nullYes
unitPriceintegerYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/services" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "unitPrice": 0,
  "kind": "service",
  "sku": "…"
}'

Response (201), with sample values:

{
  "archived": true,
  "availability": "…",
  "brand": "…",
  "category": null,
  "condition": "…",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "currency": "USD",
  "description": "…",
  "gtin": null,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "images": [],
  "kind": "…",
  "mpn": null,
  "name": "Ana Lima",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "prices": {},
  "productGroup": "…",
  "productUrl": "https://example.com",
  "publicVisible": true,
  "sku": "…",
  "unitPrice": 1,
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}

DELETE/v1/services/{id}

Deletes a service or product; proposals and invoices keep their copies.

DeleteOn success: 204.Permission: Delete.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X DELETE "https://api.firmado.app/v1/services/{id}" \
  -H "X-Api-Key: fmd_..."

PATCH/v1/services/{id}

Changes a service or product: prices, description and visibility.

UpdateOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
skustring | nullNo
productGroupstring | nullNo
brandstring | nullNo
gtinstring | nullNo
mpnstring | nullNo
categorystring | nullNo
productUrlstring (uri) | nullNo
condition"new" | "refurbished" | "used"No
availability"in_stock" | "out_of_stock" | "preorder"No
namestringNomin length 1 · max length 200
descriptionstring | nullNo
currencystringNopattern ^[A-Z]{3}$
unitPriceintegerNomin 0 · max 10000000000000
pricesobject of integerNo
publicVisiblebooleanNo
archivedbooleanNo

Response

28 fields
FieldTypeAlways there
archivedbooleanYes
availabilitystringYes
brandnull in the examplesYes
categorynull in the examplesYes
conditionstringYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
currencystringYes
descriptionstring | nullYes
gtinnull in the examplesYes
idstring (uuid)Yes
imagesarray of objectYes
images[].idstring (uuid)Yes
images[].urlstring (uri)Yes
kindstringYes
mpnnull in the examplesYes
namestringYes
organizationIdstring (uuid)Yes
pricesobjectYes
prices.BRLintegerNo
prices.USDintegerNo
productGroupnull in the examplesYes
productUrlnull in the examplesYes
publicVisiblebooleanYes
skustring | nullYes
unitPriceintegerYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X PATCH "https://api.firmado.app/v1/services/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "sku": "…",
  "productGroup": "…",
  "brand": "…",
  "gtin": "…"
}'

Response (200), with sample values:

{
  "archived": true,
  "availability": "…",
  "brand": null,
  "category": null,
  "condition": "…",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "currency": "USD",
  "description": "…",
  "gtin": null,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "images": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "url": "https://example.com"
    }
  ],
  "kind": "…",
  "mpn": null,
  "name": "Ana Lima",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "prices": {
    "BRL": 1,
    "USD": 1
  },
  "productGroup": null,
  "productUrl": null,
  "publicVisible": true,
  "sku": "…",
  "unitPrice": 1,
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}

POST/v1/services/{id}/images

Uploads a photo for a service or product.

Update/{id}/imagesOn success: 201.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body: a multipart form, with the file in `file`

FieldTypeRequiredNotes
filestring (binary)Yes

Response

3 fields
FieldTypeAlways there
imagesarray of objectYes
images[].idstring (uuid)Yes
images[].urlstring (uri)Yes
Example
curl -X POST "https://api.firmado.app/v1/services/{id}/images" \
  -H "X-Api-Key: fmd_..." \
  -F "file=@./file.pdf"

Response (201), with sample values:

{
  "images": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "url": "https://example.com"
    }
  ]
}

DELETE/v1/services/{id}/images/{imageId}

Removes a service’s or product’s photo.

Delete/{id}/images/{imageId}On success: 200.Permission: Delete.

Path parameters

FieldTypeRequiredNotes
idstringYes
imageIdstringYes

Response

3 fields
FieldTypeAlways there
imagesarray of objectYes
images[].idstring (uuid)Yes
images[].urlstring (uri)Yes
Example
curl -X DELETE "https://api.firmado.app/v1/services/{id}/images/{imageId}" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "images": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "url": "https://example.com"
    }
  ]
}

Webhook events

Changes of this feature that webhooks can send.

  • service.createdCreate
  • service.updatedUpdate
  • service.deletedDelete