ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiNewsletter

Update a newsletter subscriber (admin)

PATCH
/api/v1/newsletter/{id}

Authorization

bearer

Path Parameters

id*string

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Request Body

application/json
  1. body
email?string

Subscriber email address

firstName?string

First name

lastName?string

Last name

isActive?boolean

Active status (subscribed / unsubscribed)

Response Body

Subscriber updated successfully

Example Request
curl -X PATCH 'http://localhost:3001/api/v1/newsletter/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty