@tanujDE3180 Design A - there is business intent/function here. The API should own this responsibility. Option B leaves it on the client and it might become an issue later if such things need to be audited. There may be a proposed Option C DELETE /orders/123 but it’s semantically weird.
@devXritesh B - when product merch folks eventually add “accessories” that’s going to be a new endpoint to develop with scheme A. With B, the work is most likely only going to be adding data.