Sale Endpoints
Update Sale
Updates a sale based on their ID
PUT
/
sales
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
saleId
integer
requiredThe sale ID to delete
name
string
Name of the sale
email
string
Email of the customer associated with the sale
totalEarned
number
Total amount earned from the sale
commissionRate
number
Commission rate for the sale