DELETE ORDERCART API
This API deletes an existing order cart by its ID.
Endpoint: DELETE /transactional/v1/ordercart/{ordercartId}
🔑 Header Parameters
| Header | Type | Description | Example |
|---|---|---|---|
| Content-Type | string | Specifies the media type of the request | application/json |
| Authorization | string | Bearer token for authenticated requests | {{access_token}} |
🔗 Path Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| ordercartId | string | Yes | Unique identifier of the cart to delete | "2662 1D" |
This endpoint does not require a request body.
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description | Example |
|---|---|---|---|
| status | string | Status of API call | "success" |
| code | string | Response code to user request | "s-101" |
| message | string | Success message | "Ordercart deleted successfully" |
| data | array | Array containing result | Refer to Data Object Fields |
📦 Data Object Fields
| Field | Type | Description | Example |
|---|---|---|---|
| message | string | Confirmation of outcome | "success" |