DELETE /salesorders/{id}/lines/{lineId}

Delete a specific line from a sales order identified by its unique sales order ID and line ID.

Headers

  • Authorization string Required

    Authorization header

Path parameters

  • id integer(int32) Required

    The unique identifier for the sales order, to which all the sales order lines pertain.

  • lineId integer(int32) Required

    The unique identifier of the sales order line.

Responses

  • 204

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string
    • Access-Control-Allow-Credentials string
    • X-Trace-Id string
  • 404

    Sales order or sales order line not found

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string
    • Access-Control-Allow-Credentials string
    • X-Trace-Id string
  • 409

    Conflict - The sales order line cannot be deleted, likely because it has already been invoiced or is in a status that does not allow deletion.

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string
    • Access-Control-Allow-Credentials string
    • X-Trace-Id string
DELETE /salesorders/{id}/lines/{lineId}
curl \
 --request DELETE 'https://rest.api.24sevenoffice.com/v1/salesorders/{id}/lines/{lineId}' \
 --header "Authorization: string"