#krhubert-Subscription

1 messages · Page 1 of 1 (latest)

lost onyx
coarse willow
#
-- response body
{
  "error": {
    "message": "The subscription schedule update is missing at least one phase with a `start_date` to anchor end dates to.",
    "type": "invalid_request_error"
  }
}

-- request post body

{
  "end_behavior": "release",
  "phases": {
    "0": {
      "end_date": "1637480313",
      "items": {
        "0": {
          "price": "price_basic"
        }
      }
    },
    "1": {
      "end_date": "1637480323",
      "items": {
        "0": {
          "price": "price_enterpise"
        }
      },
      "start_date": "1637480313"
    }
  }
}

So the dashobard dosen't say much more then response from API :/

#

But I can take a look what dashboard sends in fact

#

that would help

#

thanks! If I have more questions I'll go back to you 🙏