#feminaagravat_39821

1 messages · Page 1 of 1 (latest)

south mantleBOT
tribal flint
#

Is there any issue you're facing?

cold quarry
#

yes,

#

It gave me this error
"message": "The subscription schedule update is missing at least one phase with a start_date to anchor end dates to.",\n

#

And I am adding Start Date then it
$updateData['phases'][0]['start_date'] = strtotime($listingObj->getDRenewalDate()->format('Y-m-d'));
$updateData['phases'][0]['items'][] = $newItem;
then it is removing the existing three product and add ing this new one

#

BUt I want all four items

tribal flint
tribal flint
#

To add new item in phase, the steps will be:

  1. Retrieve the phases in the existing subscription schedule
  2. Copy the data in phase[0] and add new items
cold quarry
#

Ok

south mantleBOT