Envie
ReferenceApi

Add an item

POST
/v1/storefront/wishlist/items

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/items" \  -H "Content-Type: application/json" \  -d '{    "productId": "string",    "handle": "string"  }'
{  "id": "string",  "productId": "string",  "variantId": "string",  "handle": "string",  "titleSnapshot": "string",  "addedAt": "2019-08-24T14:15:22Z"}