> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-wishlist-rest-api-extension/api-call-with-swagger-tool.md).

# API call with Swagger Tool

**1. Get all data of wishlist**

API Call with Swagger Tool to get all data of wishlist

<figure><img src="/files/NsaekPukCzpm6qxglrwS" alt=""><figcaption></figcaption></figure>

API call code to get all data of wishlist

<figure><img src="/files/IcXhrudIQUfN8h6QRTRY" alt=""><figcaption></figcaption></figure>

**2. Add product to wishlist**

API call with Swagger Tool to add the product to wishlist

<figure><img src="/files/CUBvEJ6dZ4X46soqD8AS" alt=""><figcaption></figcaption></figure>

API call code to add the product to wishlist

<figure><img src="/files/1nNBNuj91V8ngccWHDan" alt=""><figcaption></figcaption></figure>

**3. Delete product from wishlist**

API call with Swagger Tool to delete the product from wishlist

<figure><img src="/files/CpBfVaDFQlCBuLXtle7F" alt=""><figcaption></figcaption></figure>

API call code to delete the product from wishlist

<figure><img src="/files/DGyePQuBXx8WAGfRxLfZ" alt=""><figcaption></figcaption></figure>
