sellingPlanGroupUpdate INTERNAL_SERVER_ERROR

DanielTehrani
Excursionist
41 1 5

Hi.
I've been trying to update the pricing policies of selling plans using the sellingPlanGroupUpdate, but it seems to be not working.


Is this a problem with the API, or is my query wrong?

Thanks.

 

{
    "graphQLErrors": [
        {
                "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 8634d7d5-e2b2-4646-8dc3-82662ac80f69 (include this in support requests).",
                "extensions": {
                     "code": "INTERNAL_SERVER_ERROR",
                     "requestId": "8634d7d5-e2b2-4646-8dc3-82662ac80f69"
                }
           }
      ],
      "operation": {
        "variables": {
                "id": "gid://shopify/SellingPlanGroup/60686498",
                "input": {
                     "options": [
                          "test-pp-add"
                     ],
                     "name": "test-pp-add",
                     "sellingPlansToUpdate": [
                          {
                               "name": "test-pp-add",
                             "options": [
                                 "1ヶ月毎にお届け"
                            ],
                             "billingPolicy": {
                                  "recurring": {
                                     "interval": "MONTH",
                                      "intervalCount": 1
                                }
                            },
                            "deliveryPolicy": {
                                 "recurring": {
                                        "interval": "MONTH",
                                         "intervalCount": 1
                                  }
                         },
                            "pricingPolicies": [
                                  {
                                      "fixed": {
                                           "adjustmentType": "FIXED_AMOUNT",
                                                  "adjustmentValue": {
                                                    "fixedValue": "1"
                                               }
                                            }
                                        },
                                    {
                                         "recurring": {
                                           "adjustmentType": "FIXED_AMOUNT",
                                           "adjustmentValue": {
                                                "fixedValue": "3"
                                           },
                                          "afterCycle": 5
                                    }
                                  }
                              ],
                             "id": "gid://shopify/SellingPlan/413958306"
                         }
                     ]
              }
           },
           "operationName": "sellingPlanGroupUpdate"
      }
 }
 

 

 

0 Likes
ewalker
Shopify Staff
Shopify Staff
23 3 7

hi  DanielTehrani,

This is a bug on our end. We'll post here when it gets resolved.