Skip to main content

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​

ParameterTypeDescription
idStringRequired. 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​

FieldTypeDescription
successBooleanWhether the request was successful.
messageStringResult message.