Set a sale's customer

Attaches a customer to an existing sale.

Heads up: this is a GET request, but it changes data. Don't call it just to look something up.

Required permission:

GroupPermission
SalesCreate, edit and delete sales; manage = create sales and change their staff member or customer (includes view)
Path Params
int64
required

ID of the customer to attach.

int64
required

ID of the sale.

Responses

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