API referenceMarketing
Import contacts with a consent attestation, optionally into a list
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/stores/string/marketing/contacts/import" \ -H "Content-Type: application/json" \ -d '{ "rows": [ { "email": "string" } ], "attestedConsent": true }'{ "imported": -9007199254740991, "skipped": -9007199254740991, "alreadyUnsubscribed": -9007199254740991, "addedToList": -9007199254740991}