segments_read
Store must have one of: EMAIL_SMS
Arguments
Returns
Errors
Besides the errors any request can return, this operation fails with these codes inextensions.code.
Write a segment’s contacts to a CSV in the background, as the app’s segment export does, and return the export at once; poll segmentExport for the file. A dynamic segment’s members are those it has when the export runs. An empty segment gives a file with only the header row. No email is sent, and a store may run several exports at once; each start also counts against a per-store export quota shared with tracker exports, and over it returns THROTTLED. A retry that returns the export an earlier attempt with its idempotencyKey started doesn’t use up the quota, but is still refused with THROTTLED while the quota is empty. Returns null when the store has no segment with this id. Throws IDEMPOTENCY_KEY_REUSED and TRY_AGAIN as idempotencyKey describes.
segments_read
Store must have one of: EMAIL_SMS
extensions.code.