New to Corsair? See API access, authentication, and error handling.
Campaigns
create
campaigns.create
Create a campaign from a type and its actions, each an email or an api webhook with the rules that decide when it runs
Risk: write
actions full type
actions full type
delete
campaigns.delete
Delete a campaign
Risk: destructive · Irreversible
Output: empty object
get
campaigns.get
Read one campaign by id
Risk: read
Output
types
campaigns.types
Read the campaign types the store supports and their options
Risk: read
Output:
Record<string, JsonValue>
update
campaigns.update
Update a campaign, including its mode, which can start or stop real sending
Risk: write
actions full type
actions full type
Contacts
create
contacts.create
Create or update a contact in a store; Remarkety emails a double opt-in request unless doubleOptin is false
Risk: write
Output: empty object
unsubscribe
contacts.unsubscribe
Unsubscribe one email address from a store
Risk: write
Output: empty object
Email Templates
get
emailTemplates.get
Read one campaign rule’s email template
Risk: read
Output
update
emailTemplates.update
Replace one campaign rule’s email template
Risk: write
Output
Master Templates
list
masterTemplates.list
List the master email templates available to a store
Risk: read
Output:
object[]
Output full type
Output full type
Products
list
products.list
Search a store’s synced products by name or SKU, with paging and an update-time filter
Risk: read
Output:
object[]
Output full type
Output full type
Rules
get
rules.get
Read one rule type’s operators and possible values
Risk: read
Output
list
rules.list
Read every rule a campaign action can use, with its operators and possible values
Risk: read
Output:
object
Output full type
Output full type
Segments
count
segments.count
Count the shoppers matching a segment
Risk: read
Output
list
segments.list
List the emails and names matching a segment, with paging
Risk: read
Output:
object[]
Output full type
Output full type
Stores
create
stores.create
Create a store with the API key Remarkety will sync it with
Risk: write
Output
delete
stores.delete
Delete a store
Risk: destructive · Irreversible
Output: empty object
get
stores.get
Read one store by id
Risk: read
Output
status
stores.status
Read the store sync status, including the last error and the last successful sync
Risk: read
Output
update
stores.update
Update a store; the id goes in the body because the route is PUT /stores
Risk: write
Output