Skip to main content
PUT
Update a sale by ID

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Sale update details

saleId
integer
required

The sale ID to delete

name
string

Email associated with the sale

email
string<email>

Email of the customer associated with the sale

totalEarned
number<float>

Total amount earned from the sale

commissionRate
number<float>

Commission rate for the sale

Response

Sale updated successfully

Last modified on September 14, 2024