platformUpdate

Graphql fields and variables for the platformUpdate mutation

Update a platform

Scope required: product:write

For a complete list of input attributes see the PlatformAttributes type

mutation platformUpdate ($id: ID!, $attributes: PlatformAttributes!) {
  platformUpdate (id: $id, attributes: $attributes) {
      errors
      platform {
        checkoutValidationEnabled
        code
        id
        name
        provisioningEnabled
        webhookAuthToken
        webhookSigningKey
        webhookUrl
      }
  }
}

Arguments

{
  "id": "456123",
  "attributes": {
    "name": "",
    "code": "",
    "provisioningEnabled": true,
    "checkoutValidationEnabled": true,
    "webhookUrl": "",
    "webhookAuthToken": "",
    "webhookSigningKey": ""
  }
}
Name
Type
Description

id

ID

Response

Name
Type
Description

errors

List (String)

platform

Last updated

Was this helpful?