segment
aid_receipts_customer_segment_post
Segment customer by receipt data
scopes:
- admin:receipts
- read:receipts
post/accounts/{aid}/receipts/customer_segment
Path parameters
aidstring ^[PT]{1}\d{8}$ required
An id that uniquely identifies the account.
Request body
Response
Customer matching segmentation
Example response
{
"customers": [
{
"purchases": 5
}
]
}