Skip to main content
DELETE
Deletes an existing return line item.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

returns.write
oauth2-authorization-code

Grants permission to create and modify returns.

returns.write
oauth2-client-credentials

Grants permission to create and modify returns.

Headers

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

returnId
string<uuid>
required

The ID of the return that the line item belongs to. Id of a return.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

lineItemId
string<uuid>
required

The ID of the line item to delete. Id of a return line item.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

Response

The return line item was successfully deleted. Returns 204 No Content — a successful delete has no response payload.