Why is customer nullable on SubscriptionContract?

I noticed that the GraphQL schema for SubscriptionContract lists the customer field as nullable. Is there a scenario where a contract would exist without an associated customer?

Hi,

There are scenarios where a customer can be deleted by the merchant, or their data may be redacted.

The contract itself has a link to a customer, but the data might no longer be available.

1 Like