curl --request POST \
--url https://api.slickerhq.com/ingest/v1/subscriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"subscriptions": [
{
"id": "sub_12345678",
"state": "SUBSCRIPTION_STATE_ACTIVE",
"customerId": "cus_87654321",
"businessEntity": "ACME Inc.",
"planId": "plan_premium_monthly",
"amount": 2000,
"currency": "USD",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-05T12:30:00Z",
"activatedAt": "2023-01-01T00:00:00Z",
"expiresAt": "2023-04-01T00:00:00Z",
"billingPeriod": 1,
"billingPeriodUnit": "BILLING_PERIOD_UNIT_MONTH"
},
{
"id": "sub_87654321",
"state": "SUBSCRIPTION_STATE_CANCELED",
"customerId": "cus_12345678",
"businessEntity": "ACME Inc.",
"planId": "plan_basic_annual",
"amount": 10000,
"currency": "USD",
"createdAt": "2022-10-01T00:00:00Z",
"updatedAt": "2023-01-10T09:15:00Z",
"activatedAt": "2022-10-01T00:00:00Z",
"canceledAt": "2023-01-10T09:15:00Z",
"expiresAt": "2023-10-01T00:00:00Z",
"billingPeriod": 1,
"billingPeriodUnit": "BILLING_PERIOD_UNIT_YEAR"
}
]
}'