v1

latestOpenAPI 3.1.02026-07-246014.7 KB

Update Subscriber

Updates data for a given subscriber.

patch/api/v2/subscribers/{id}

Path parameters

idstring required

ID of the subscriber you'd like to update.

Headers

X-Postscript-Shop-Tokenstring

Shop API Token. Required for partners. This header should be used only by partners. Shops should include their API token in the Authorization header.

Request body

emailstring

Email address for the subscriber. Note: when updating an email address, we will only update it if none previously existed on the subscriber or we haven't linked a Shopify customer to them yet. We also can only link a Shopify customer if they already exist, not retrospectively.

tagsstring[]

Tags you would like to add to the subscriber. Note: tags are additive, so whatever you include here will be added to the existing tags on a subscriber.

propertiesstring json

Custom properties as key/value pairs. Values can be: strings, integers, string arrays, or ISO 8601 date(time). Subscribers can have up to 50 custom properties. If properties is unset or null, it will be ignored.

Response

200