Subscription Contract Updated


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Note: When building a self-hosted app, implement your own webhook endpoint to receive and process incoming webhook payloads. Learn more about webhooks.

Triggered when a subscription contract is updated. Fires when changes from a draft subscription contract are committed, and when the contract's priceSummary is set to the billed totals at the start of the first billing cycle. Also fires right after a subscription contract is created, while billing for the subscription is set up. These updates can leave every documented field unchanged.

Permission Scopes
Read subscription contracts
Learn more about app permissions.
Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
entityFqdnstring

Fully qualified domain name of the entity associated with the event. Expected wix.ecom.subscription_contracts.v1.subscription_contract.


entityIdstring

ID of the entity associated with the event.


eventTimestringformat date-time

Event timestamp.


idstring

Unique event ID. Allows clients to ignore duplicate events.


originatedFromstring

If present, indicates the action that triggered the event.


slugstring

Event name. Expected updated.


triggeredByAnonymizeRequestboolean

Whether the event was triggered as a result of a privacy regulation compliance, such as GDPR.


updatedEventUpdatedEvent

Event information.


Did this help?