May 29, 2023

A API passou por várias modificações. Nos endpoints de companies, settings e products, foi removida a propriedade x-stoplight e o suporte para as propriedades validations e customerRecurring em settings e invoices. Em products, também foi removido o suporte para a propriedade companyRecurring em invoices. Essas alterações se aplicam tanto para as respostas 200 e 201 quanto para o requestBody nos métodos GET e POST.

Companies
  • GET /v1/companies/{id}:
    • 200 response: removed settings.x-stoplight
    • 200 response: removed support for settings.validations property
    • 200 response: removed support for settings.invoices.customerRecurring property
  • POST /v1/companies/{id}:
    • 200 response: removed settings.x-stoplight
    • 200 response: removed support for settings.validations property
    • 200 response: removed support for settings.invoices.customerRecurring property
    • requestBody: removed settings.x-stoplight
    • requestBody: removed support for settings.validations property
    • requestBody: removed support for settings.invoices.customerRecurring property
  • GET /v1/companies:
    • 200 response: removed data.items.settings.x-stoplight
    • 200 response: removed support for data.items.settings.validations property
    • 200 response: removed support for data.items.settings.invoices.customerRecurring property
  • POST /v1/companies:
    • 201 response: removed settings.x-stoplight
    • 201 response: removed support for settings.validations property
    • 201 response: removed support for settings.invoices.customerRecurring property
    • requestBody: removed settings.x-stoplight
    • requestBody: removed support for settings.validations property
    • requestBody: removed support for settings.invoices.customerRecurring property
Configurações
  • GET /v1/settings:
    • 200 response: removed x-stoplight
  • POST /v1/settings:
    • 200 response: removed x-stoplight
    • requestBody: removed x-stoplight
Products
  • GET /v1/products/{product}:
    • 200 response: removed settings.x-stoplight
    • 200 response: removed support for settings.validations property
    • 200 response: removed support for settings.invoices.companyRecurring property
    • 200 response: removed support for settings.invoices.customerRecurring property
  • POST /v1/products/{product}:
    • 200 response: removed settings.x-stoplight
    • 200 response: removed support for settings.validations property
    • 200 response: removed support for settings.invoices.companyRecurring property
    • 200 response: removed support for settings.invoices.customerRecurring property
    • requestBody: removed settings.x-stoplight
    • requestBody: removed support for settings.validations property
    • requestBody: removed support for settings.invoices.companyRecurring property
    • requestBody: removed support for settings.invoices.customerRecurring property
  • GET /v1/products:
    • 200 response: removed data.items.settings.x-stoplight
    • 200 response: removed support for data.items.settings.validations property
    • 200 response: removed support for data.items.settings.invoices.companyRecurring property
    • 200 response: removed support for data.items.settings.invoices.customerRecurring property
  • POST /v1/products:
    • 200 response: removed settings.x-stoplight
    • 200 response: removed support for settings.validations property
    • 200 response: removed support for settings.invoices.companyRecurring property
    • 200 response: removed support for settings.invoices.customerRecurring property
    • requestBody: removed settings.x-stoplight
    • requestBody: removed support for settings.validations property
    • requestBody: removed support for settings.invoices.companyRecurring property
    • requestBody: removed support for settings.invoices.customerRecurring property