v2

latestOpenAPI 3.0.0Apache 2.02026-07-2638645559.8 KB
Purchases

Update the status of an invoice

post/apps/{appId}/purchases/{id}/updatestatus

Path parameters

appIdinteger required

The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have several Sinao applications. To retrieve the identifiers of its applications, you must call the endpoint /apps.

idinteger required

ID of purchase

Query parameters

status'completed' | 'paid'

Status to update

Response

Success