Sign in

Create or update contact

documented

Create a new contact or update an existing contact's information for a given store. Request body should include either email or sms_phone_number (E.164) and may include firstName, lastName, tags, marketingAllowed, smsMarketingAllowed, doubleOptin, and a properties object with address, city, country, etc. Inputs and example payloads are shown in Remarkety's API documentation. ([support.remarkety.com](https://support.remarkety.com/hc/en-us/articles/115000520263-Sending-contact-information-via-API))

POST /api/v1/stores/{store_id}/contactsContactsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://app.remarkety.com/api/v1/stores/{{$store_id}}/contacts" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Token: {{REMARKETY_API_KEY}}" \
  -d '{"email": "{{$email}}", "sms_phone_number": "{{$sms_phone_number}}", "sms_country_code": "{{$sms_country_code}}", "firstName": "{{$firstName}}", "lastName": "{{$lastName}}", "tags": {{$tags}}, "marketingAllowed": {{$marketingAllowed}}, "smsMarketingAllowed": {{$smsMarketingAllowed}}, "doubleOptin": {{$doubleOptin}}, "properties": {{$properties}}}'