Documentation Index

Fetch the complete documentation index at: https://docs.wair.ai/llms.txt

Use this file to discover all available pages before exploring further.

DELETE /Sales

Prev Next

GENERAL INFORMATION

With this endpoint you can delete sales by salesId.

REQUEST

Authentication:

Bearer token, information on page POST /Token

Headers:

Name

Description

Example

X-Tenant

Tenant code supplied by Wair

“TENANT”

QueryParameters:

Name

Description

Example

salesId

The unique identifier of the sale you want to delete

?salesId=guid01&salesId=guid02

Body example:

No body required.

RESPONSE

StatusCodes:

200 = OK

401 = Unauthorized, which means an expired/missing/invalid token

400 = Bad request, see body of the response to check which validation errors have occured

500 = System error, see body of the response to check which error has occured or contact integration support

Body example:

No body in response