Nest Changelog

1.8.0

12/8/2022

1.9.0

12/13/2022

2 changed endpoints

POST /users/{userId}/account/activate

create a new subscription in stripe from shopify order, optionally applies a redemption code

Request Body
{
  applyBillingDelay: bool,
  billingAddress: {
-   city?: string,
-   country?: {

code?: string, }, - postalCode?: string, - region?: {

code?: string, }, - streetLine1?: string, - streetLine2?: string,

}, cardTokenId?: string, firstName: string, isFirstPeriodPrepaid: bool, lastName: string, phoneNumber: string, redemptionCode: string, utm: { campaign: string, content: string, medium: string, source: string, term: string, }, }

POST /users/{userId}/account/activate

create a new subscription in stripe from shopify order, optionally applies a redemption code

Request Body
{
  applyBillingDelay: bool,
  billingAddress: {

+ city: string, + country: { code?: string, },

+ postalCode: string, + region: { code?: string, },

+ streetLine1: string, + streetLine2: string, }, cardTokenId?: string, firstName: string, isFirstPeriodPrepaid: bool, lastName: string, phoneNumber: string, redemptionCode: string, utm: { campaign: string, content: string, medium: string, source: string, term: string, }, }

POST /users/{userId}/account/subscribe

Create a new subscription in stripe

Request Body
{
  applyBillingDelay: bool,
  billingAddress: {
-   city?: string,
-   country?: {

code?: string, }, - postalCode?: string, - region?: {

code?: string, }, - streetLine1?: string, - streetLine2?: string,

}, cardTokenId?: string, firstName: string, isFirstPeriodPrepaid: bool, lastName: string, phoneNumber: string, planId?: number, redemptionCode: string, utm: { campaign: string, content: string, medium: string, source: string, term: string, }, }

POST /users/{userId}/account/subscribe

Create a new subscription in stripe

Request Body
{
  applyBillingDelay: bool,
  billingAddress: {

+ city: string, + country: { code?: string, },

+ postalCode: string, + region: { code?: string, },

+ streetLine1: string, + streetLine2: string, }, cardTokenId?: string, firstName: string, isFirstPeriodPrepaid: bool, lastName: string, phoneNumber: string, planId?: number, redemptionCode: string, utm: { campaign: string, content: string, medium: string, source: string, term: string, }, }
WORK IN PROGRESS