> For the complete documentation index, see [llms.txt](https://the-wishlist-documentation.gitbook.io/the-wishlist-documentation-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://the-wishlist-documentation.gitbook.io/the-wishlist-documentation-docs/wishlist-rest-api/notify-me/resetflag.md).

# resetFlag

This endpoint is used to reset any 'notifyMe' or 'preRelease' flag that is on a wishlist item for any customer. (see getCustomersWithFlag). You must specify the ***productRef*** or ***variantRef***, and which flag to reset.

```json
{"openapi":"3.0.3","info":{"title":"Wishlist REST API","version":"0.0.1"},"tags":[{"name":"notify-me","description":"Notify Me / register-interest items and the notification flags used to drive them."}],"servers":[{"url":"https://api.au-aws.thewishlist.io/services/wsservice"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer","description":"OAuth2 bearer token issued by TWC Keycloak, sent as `Bearer <token>`."}},"parameters":{"notifyMe":{"name":"notifyMe","in":"query","required":false,"description":"notifyMe indicates the customer has asked to be notified of an event (usually back-in-stock)","schema":{"type":"string"}},"preRelease":{"name":"preRelease","in":"query","required":false,"description":"preRelease indicates the customer has an interest in a product that will be available in the future","schema":{"type":"string"}},"productRef":{"name":"productRef","in":"query","required":false,"description":"The retailer's unique identifier for a parent product.   For Shopify this is the Shopify product id.","schema":{"type":"string"}},"variantRef":{"name":"variantRef","in":"query","required":false,"description":"The retailer's unique identifier for a product variant.  For Shopify this is the variant ID.","schema":{"type":"string"}},"X-TWC-Tenant-2":{"name":"X-TWC-Tenant","in":"header","required":false,"description":"tenant-key (your retail store's unique identifier in TWC)","schema":{"type":"string"}}}},"paths":{"/api/wishlist/items/resetFlag":{"put":{"summary":"resetFlag","operationId":"resetFlagUsingPUT","parameters":[{"$ref":"#/components/parameters/notifyMe"},{"$ref":"#/components/parameters/preRelease"},{"$ref":"#/components/parameters/productRef"},{"$ref":"#/components/parameters/variantRef"},{"$ref":"#/components/parameters/X-TWC-Tenant-2"}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false,"description":"This endpoint is used to reset any 'notifyMe' or 'preRelease' flag that is on a wishlist item for any customer.\n(see getCustomersWithFlag).  You must specify the ***productRef*** or ***variantRef***, and which flag to reset. ","tags":["notify-me"]}}}}
```
