Ziwako Docs
ZiwakoRéférence APICollections

Remove Item from collection

DELETE
/collections/{id}/items/{itemId}

This endpoint disassociates an item from a collection. Use this to allow users to manage their lists, such as removing a product from a shopping cart or a service from a favorites list.

Note: Removing an item from a collection does not delete the original Product, Service, or ProProfil from the Ziwako platform; it only deletes the link between that item and the specified collection.

Authorization

X-API-Key<token>

In: header

Path Parameters

id*string
itemId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X DELETE "https://example.com/collections/string/items/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "type": "string",  "code": "string",  "message": "string",  "data": {},  "status": 0}