platformUpdate
Update a platform. The platformUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
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
}
}
}
ArgumentsLink to Arguments section
{
"id": "456123",
"attributes": {
"name": "",
"code": "",
"provisioningEnabled": true,
"checkoutValidationEnabled": true,
"webhookUrl": "",
"webhookAuthToken": "",
"webhookSigningKey": ""
}
}
| Name | Type | Description |
|---|---|---|
| id | ID | |
| attributes | PlatformAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| platform | Platform |