Export product segmentation changes
For the general submit-and-poll flow, see Exports overview.
Request
You can pass:
- A UTC datetime — only products that joined or left the requested segmentation after this date will be included.
externalIdof a product segmentation — required if you didn't pick one in the operation step settings.
Without a since date — the file has one row for every product that has ever been in this segmentation. The inSegmentation field tells you whether the product is currently in it, and segment shows which segment the product belongs to.
With a since date — the file has rows only for products that have joined or left the segmentation since that date.
Response format
{
"productSegments": [
{
"product": {
"ids": {
"mindboxId": "<Maestra product ID>",
"<Identifier type>": "<External product identifier>"
}
},
"inSegmentation": true,
"segment": {
"ids": {
"externalId": "<Segment external ID>"
}
}
},
{
"product": {
"ids": {
"<Identifier type>": "<External product identifier>"
}
},
"inSegmentation": false
}
]
}
Updated about 2 months ago

