ReferenceApi
Toggle an item
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/storefront/wishlist/toggle" \ -H "Content-Type: application/json" \ -d '{ "productId": "string", "handle": "string" }'{ "added": true, "count": 0, "itemId": "string"}