PUT
/
sales
curl --request PUT \
  --url https://www.pushlapgrowth.com/api/v1/sales \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "saleId": 123,
  "name": "<string>",
  "email": "jsmith@example.com",
  "totalEarned": 123,
  "commissionRate": 123
}'
This response has no body data.

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

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