Skip to main content

Data schema: Subscriptions

What each account pays for and for how long. Drives ARR, renewals and churn prediction.

Subscriptions describe what each account pays for, how much and for how long. They drive ARR, renewal dates and Hook's churn prediction. One row per subscription.

Field

Type

Required

Description

Example

Unique Identifier

Text

Yes

0017c00003oGFiLPOP

CRM

Text

Yes

Salesforce

Created Date

Timestamp

Yes

When the record was created

2023-01-20T00:00:00Z

Updated Date

Timestamp

Yes

When the record last changed

2025-01-15T00:00:00Z

Unique Identifier of Account

Text

Yes

0015c00003oGFiLAOW

CRM of Account

Text

Yes

Salesforce

Start Date

Timestamp

Yes

2023-02-01T00:00:00Z

End Date

Timestamp

Yes

2024-01-31T00:00:00Z

Name

Text

No

Enterprise Annual

Value

Number

No

In your reporting currency

120000

Value Period

Text

No

The period the Value covers

Agreed Usage

Integer

No

Seats or licences

50

Product Identifier

Text

No

Only if you sell more than one product

product_1

Good to know

  • Convert all values to a single reporting currency. If you are unable to do so, please let your Hook technical contact know.

  • A multi-year contract that bills yearly should be one subscription, with start/end dates spanning the full multiple-year duration.

Subscription custom fields

Anything that isn't a standard subscription field can be sent as a custom field, for example billing frequency or notice period. Send the subscription's ID and CRM, then one column per custom field. The column name becomes the field name in Hook.

Field

Type

Required

Description

Example

Unique Identifier of Subscription

Text

Yes

0017c00003oGFiLPOP

CRM of Subscription

Text

Yes

Salesforce

Created Date

Timestamp

Yes

When the record was created

2023-01-20T00:00:00Z

Updated Date

Timestamp

Yes

When any value last changed

2025-01-15T00:00:00Z

Product Identifier

Text

No

Only if the value differs by product

product_1

billing_frequency

Text

No

Example custom field

Annual

notice_period_days

Number

No

Example custom field

90

payment_status

Text

No

Example custom field

Paid

  • Values can be text, numbers, true/false, dates or lists. Blank values are fine.

  • Use lowercase column names with underscores. You can give each field a friendlier display name in Hook later.

  • Keep sending a record when its value changes back to false or zero, so that Hook doesn't keep showing an old value.

Did this answer your question?