Update a sale

Update an existing sale by ID.

🔒 Requires: sales:write scope

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

A valid sale ID.

Body Params

Updated sale object.

Editable attributes of the sale.

_metadata
object
attributes
array of strings

An array of attributes

attributes
uuid

The ID of the customer associated with this sale.

string

The date of the sale in RFC3339 format. If not provided will be added as the time the sale reached the server.

fulfillment_details
array of objects

Fulfillment details for DISPATCH or PICKUP fulfillments.

fulfillment_details
string

The invoice number for the sale. If left null it will be populated by Lightspeed with the next available invoice number.

line_items
array of objects

Line items.

line_items
string

A note on the sale entered by the cashier.

payments
array of objects

Payments.

payments
pricing
object
service_fields
object
string

Short, unique code to be printed on the receipt for loyalty tracking purposes.

source
object
required
string
enum
required

State of the sale.

Allowed:
Response
204

Sale updated successfully.

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!