I’m trying to disable a subscription plan via the API Explorer, but I used postman because the API Explorer doesn’t let me add a “price” node. Here is my request:
{
“idempotency_key”: “7fc753e3-8fe2-4a8c-9a16-9f2cc03e1d84”,
“object”: {
“type”: “SUBSCRIPTION_PLAN_VARIATION”,
“id”: “HOYWNO7JXCHPUI2F3P2EFHSO”,
“version”: 1682021973531,
“is_deleted”: false,
“present_at_all_locations”: false,
“subscription_plan_variation_data”: {
“name”: “Monthly Software Fee”,
“phases”: [
{
“uid”: “IJ3NYJZDHFVNAZIKYXL22TQX”,
“cadence”: “MONTHLY”,
“periods”: 0,
“ordinal”: 0,
“pricing”: {
“type”: “STATIC”,
“price”: {
“amount”: 154,
“currency”: “USD”
},
“price_money”: {
“amount”: 154,
“currency”: “USD”
}
}
}
],
“subscription_plan_id”: “O4RLOHEGEKUCWFUDX4G4STVX”
}
}
}
Here is the response:
{“errors”:[{“category”:“INVALID_REQUEST_ERROR”,“code”:“INVALID_VALUE”,“detail”:“Invalid object: Invalid Object with Id: IJ3NYJZDHFVNAZIKYXL22TQX\n[merchant_token=ME0Y4MT4BBDBC] Attribute of type subscription_periods
has value 0 less than min value 1.”}]}
I had to start a new topic because I am not able to comment on the prior question. I am seeing this error:
What is this 429 error anyway? I changed browsers and I still got the 429 error.
***** 11:08am CST
Anyone else having problems like this?