Nest Changelog

1.32.1 PRE

6/27/2023

1.32.2 PRE

6/28/2023

2 changed endpoints

POST /webhooks/subscription-schedule-updated

Request Body
{

created?: number, - currentPhase?: {

end_date?: number, start_date?: number, }, endBehavior?: 'cancel' | 'none' | 'release' | 'renew', id?: string, - phases?: List<string>,

sourceSubscriptionCode?: string, sourceUserCode?: string, }

POST /webhooks/subscription-schedule-updated

Request Body
{
+ accountId?: string,
  created?: number,

+ currentPhase: { end_date?: number, start_date?: number, }, endBehavior?: 'cancel' | 'none' | 'release' | 'renew', id?: string,

+ phases?: List<{ + cancelAtEnd?: bool, + endDate?: number, + priceId?: string, + prorationBehavior?: string, + startDate?: number, + }>, sourceSubscriptionCode?: string, sourceUserCode?: string, }

POST /users/{userId}/account/add-phase

Request Body
{
  durationDays?: number,
  initiatedBy: {
    id?: number,
  },
  internalNote?: string,
  planId: number,
  publicNote?: string,
  reason?: {
    code?: 'competitor' | 'healthIssues' | 'notMetExpectations' | 'pricing' | 'noLongerHaveEquipment' | 'busy' | 'other' | 'planChange',
    message?: string,
  },
- startDate?: number,

}

POST /users/{userId}/account/add-phase

Request Body
{
  durationDays?: number,
  initiatedBy: {
    id?: number,
  },
  internalNote?: string,
  planId: number,
  publicNote?: string,
  reason?: {
    code?: 'competitor' | 'healthIssues' | 'notMetExpectations' | 'pricing' | 'noLongerHaveEquipment' | 'busy' | 'other' | 'planChange',
    message?: string,
  },

+ startDate: number, }
WORK IN PROGRESS