Splits
Create a split
Create a revenue split for your store. The split applies either to your whole store (type: store) or to a single product (type: product). Recipients are existing stores (added directly) or email invitees; a split created with any email invitee starts disabled and activates once the first invitee accepts. The split is always created for the store the API key belongs to.
post/v1/splits
Request body
Example request
{
"description": "Q3 revenue share",
"type": "store",
"type_reference": "prod_1a2b3c4d",
"recipients": [
{
"recipient_type": "store",
"recipient_reference": "store_1a2b3c4d",
"amount": 25
}
]
}Response
Successfully created the split
Example response
{
"object": "split",
"store_id": "store_1a2b3c4d",
"description": "Q3 revenue share",
"type": "store",
"type_reference": "prod_1a2b3c4d",
"enabled": true,
"recipients": [
{
"type": "percentage",
"recipient_type": "store",
"recipient_reference": "store_1a2b3c4d",
"amount": 25,
"enabled": true,
"invite_status": "pending"
}
],
"created_at": 1735689600000
}