Skip to main content

DELETE ORDERCART API

This API deletes an existing order cart by its ID.

Endpoint: DELETE /transactional/v1/ordercart/{ordercartId}

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringSpecifies the media type of the requestapplication/json
AuthorizationstringBearer token for authenticated requests{{access_token}}

🔗 Path Parameters

ParameterTypeRequiredDescriptionExample
ordercartIdstringYesUnique identifier of the cart to delete"2662 1D"

This endpoint does not require a request body.

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code to user request"s-101"
messagestringSuccess message"Ordercart deleted successfully"
dataarrayArray containing resultRefer to Data Object Fields

📦 Data Object Fields

FieldTypeDescriptionExample
messagestringConfirmation of outcome"success"