Delete Shopping List
Permanently deletes a shopping list. This action cannot be undone.
HTTP Request
- URL:
/shoppingList/{id} - Method:
DELETE - Headers:
accessToken: Required. Your API access token.
- Required scope:
READ_WRITE_SHOPPINGLIST
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | String | Required. The ID of the shopping list to delete. |
cURL Example
curl --location --request DELETE '<BASE_URL>/shoppingList/6722d1a4b7c3e85f2a9d0b10' \
--header 'accessToken: <ACCESS_TOKEN>'
Response
- 200 OK: The shopping list was deleted successfully.
- 400 Bad Request: The access token is missing or invalid, does not have the required scope, or the shopping list ID is not valid.
Sample JSON Response
{
"success": true,
"message": "ShoppingList deleted Successfully"
}
Response Details
| Field | Type | Description |
|---|---|---|
success | Boolean | Whether the request was successful. |
message | String | Result message. |