HomeTutorialsAPI ReferenceChangelog
Log In
API Reference

Create or update a register sale

Create or update a register sale. Returns a single new or updated sale object. See Sales Tutorials for usage information.

Note: Promotions cannot be used with this endpoint.

🔒 Requires: sales:write scope

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

New or updated register sale object.

Editable attributes of the sale

string

This is the identifier of the 3rd party system that the source_id is associated with. 'Xero' or 'Magento' would be examples.

string

The ID of the sale on the client side or another system where the sale was originally created.

uuid

The ID of the register where the sale was created.

uuid

The ID of the customer associated with this sale.

uuid
required

The ID of the user (cashier) who created the sale.

string

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

string

A note on the sale entered by the cashier.

string
enum
required

State of the sale.

Allowed:
string
enum
deprecated

Status of the sale.

string

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

string

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

string

Xero invoice reference ID. Only editable for ONACCOUNT sales.

register_sale_products
array of objects

Line items.

register_sale_products
register_sale_payments
array of objects

Payments.

register_sale_payments
register_sale_attributes
array of strings

An array of attributes

register_sale_attributes
adjustments
array of objects

Adjustments.

adjustments
service_fields
object
fulfillment_details
array of objects

Fulfillment details for DISPATCH or PICKUP fulfillments.

fulfillment_details
Response

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