updateProductIntegration
Update an existing product integration.
This page contains
Arguments
input UpdateProductIntegrationInput! | Input to update a product integration. |
UpdateProductIntegrationInput fields
id ID! | Unique identifier of the product integration. |
name String | The name of the product integration. |
createUrl URL | Integration Event URL for marketplace events of type |
createUrlInteractive Boolean | Indicates whether the associated |
upgradeUrl URL | Integration Event URL for marketplace events of type |
upgradeUrlInteractive Boolean | Indicates whether the associated |
cancelUrl URL | Integration Event URL for marketplace events of type |
cancelUrlInteractive Boolean | Indicates whether the associated |
notifyUrl URL | Integration Event URL for marketplace events of type |
eventStatusUrl URL | Integration Event URL for marketplace events of type |
addonNotificationUrl URL | Integration Event URL for marketplace events of type:
|
assignUrl URL | Integration Event URL for marketplace events of type |
unassignUrl URL | Integration Event URL for marketplace events of type |
userUpdatedUrl URL | Integration Event URL for marketplace events of type |
multipleSubscriptionsEnabled Boolean | Indicates whether the associated products can be purchased more than once, that is, whether they are stackable products.
Note that |
notificationEmail EmailAddress | E-mail address used to send any kind of vendor notifications. This attribute is marked as optional, but some legacy flows may require it. |
preSubmitValidationRequired Boolean | Indicates whether the user must explicitly validate settings (by clicking a button) before submitting them and continuing the purchase. |
orderRequireFormFields Boolean | Indicates whether the purchaser must provide additional information for this product integration during the purchase.
The additional information is described by |
updateRequireFormFields Boolean | Indicates whether the additional information must also be provided during a product upgrade. |
additionalSettingsForms [ProductIntegrationAdditionalSettingsFormInput] | List of forms to be collected during purchase when |
orderValidationUrl URL | Validation URL used to perform the validation of the additional information values during a purchase or update. |
outboundCredentials ProductIntegrationOutboundCredentialsInput | Outbound credentials used to sign outgoing requests. |
domainAssociationConfiguration DomainAssociationConfigurationInput | For products that require domains, input to configure the domain association. |
domainManagementEnabled Boolean | Indicates whether a customer must purchase a domain, or add a domain that they already own, when they purchase this product. |
restrictionUrl URL | URL used to check whether restrictions apply to the purchase or upgrade of this product. No placeholders available. |
vendorRequiredFieldsUrl URL | For a connector integration with vendor required fields, the URL to fetch vendor required fields. |
vendorValidationsUrl URL | For a connector integration with vendor required fields, the URL to validate vendor required fields. |
Return Fields
productIntegration ProductIntegration | Updated product integration. |
userErrors [UpdateProductIntegrationError!] | List of errors found when updating the product integration (null if there are no errors). |
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
xxxxxxxxxx
mutation updateProductIntegration($input: UpdateProductIntegrationInput!) {
updateProductIntegration(input: $input) {
productIntegration {
id
version
type
}
userErrors
}
}
xxxxxxxxxx
{
"input": {
"id": 34827,
"name": "YOUR_NAME",
"createUrl": "https://www.example.com/",
"createUrlInteractive": false,
"upgradeUrl": "https://www.example.com/",
"upgradeUrlInteractive": false,
"cancelUrl": "https://www.example.com/",
"cancelUrlInteractive": false,
"notifyUrl": "https://www.example.com/",
"eventStatusUrl": "https://www.example.com/",
"addonNotificationUrl": "https://www.example.com/",
"assignUrl": "https://www.example.com/",
"unassignUrl": "https://www.example.com/",
"userUpdatedUrl": "https://www.example.com/",
"multipleSubscriptionsEnabled": false,
"notificationEmail": "placeholder",
"preSubmitValidationRequired": false,
"orderRequireFormFields": false,
"updateRequireFormFields": false,
"additionalSettingsForms": [{
"title": [{
"locale": "en",
"value": "YOUR_VALUE"
}],
"description": [{
"locale": "en",
"value": "YOUR_VALUE"
}],
"allowedAdvancedValidation": false,
"hiddenByDefault": false,
"showFormControlLabel": [{
"locale": "en",
"value": "YOUR_VALUE"
}],
"selectedTLDToggled": false,
"specificToTopLevelDomain": "YOUR_SPECIFIC_TO_TOP_LEVEL_DOMAIN",
"formFields": [{
"label": [{
"locale": "en",
"value": "YOUR_VALUE"
}],
"suffix": [{
"locale": "en",
"value": "YOUR_VALUE"
}],
"type": "SELECT",
"selectFieldOptions": [{
"value": "YOUR_VALUE",
"content": [{
"locale": "en",
"value": "YOUR_VALUE"
}]
}],
"name": "YOUR_NAME",
"required": false,
"repeatedForEachUnit": false
}]
}],
"orderValidationUrl": "https://www.example.com/",
"outboundCredentials": {
"type": "OAUTH2",
"clientId": "123e4567-e89b-12d3-a456-426614174000",
"clientSecret": "YOUR_CLIENT_SECRET",
"grantType": "client_credentials",
"scope": "YOUR_SCOPE",
"tokenUri": "YOUR_TOKEN_URI",
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD"
},
"domainAssociationConfiguration": {
"maxDomainAssociation": 5,
"settingsUrl": "https://www.example.com/",
"verificationUrl": "https://www.example.com/",
"linkUrl": "https://www.example.com/",
"unlinkUrl": "https://www.example.com/"
},
"domainManagementEnabled": false,
"restrictionUrl": "https://www.example.com/",
"vendorRequiredFieldsUrl": "https://www.example.com/",
"vendorValidationsUrl": "https://www.example.com/"
}
}