Update a transaction

Update a sale

This endpoint allows you to update the transaction type or status and add an invoice number, invoice date or your transaction id to it.

The request for this endpoint should have the following parameters:

Path Params
int32
required

The unique identifier of the sale.

Body Params
string

The new type of the sale. It has to be "sale".

string

The new status of the transaction. It can be "invoiced", "completed" or "rejected".

string

Invoice number of the transaction. Required when status is "invoiced".

date

Invoice date of the transaction (UTC by default). Required when status is "invoiced".

string

The ID of the transaction in the client's system.

Response

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json