platformCreate

Graphql fields and variables for the platformCreate mutation

Create a platform

Scope required: product:write

For a complete list of input attributes see the PlatformAttributes type

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

Arguments

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

Response

Name
Type
Description

errors

List (String)

platform

Last updated

Was this helpful?