Update an existing custom integration
const url = 'https://open-api.replyco.com/openapi/account/updatecustomintegration';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json-patch+json'}, body: '{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "isBlocked": "example", "icon": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "marketFileId": "example", "mimeType": "example", "fileSize": 1, "fileName": "example", "filePath": "example", "fileUrl": "example", "base64": "example" } }'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://open-api.replyco.com/openapi/account/updatecustomintegration \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data '{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "isBlocked": "example", "icon": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "marketFileId": "example", "mimeType": "example", "fileSize": 1, "fileName": "example", "filePath": "example", "fileUrl": "example", "base64": "example" } }'Updates all fields of a custom integration. This is a full update (PUT), not a partial update (PATCH).
Important:
- All fields must be provided, even if unchanged
- The ID field is required to identify which integration to update
- Only custom integrations can be updated via this endpoint
Updatable fields:
- Name
- ApiKey
- ApiSecret
- WebhookUrl
- IsActive
Sample request:
PUT /account/updateCustomIntegration
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Updated Store Name",
"marketplace": "CustomIntegration",
"apiKey": "new-api-key",
"isActive": true
}
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Complete integration object with all fields (including unchanged ones)
object
The display name of the custom integration (e.g., “My Store”, “Legacy System”)
Indicates whether this integration is blocked/disabled. Set to “true” to disable, “false” or null to enable
object
External marketplace-specific file identifier (if applicable)
MIME type of the file (e.g., “image/png”, “application/pdf”)
Size of the file in bytes
Name of the file including extension (e.g., “logo.png”, “document.pdf”)
Server-side path where the file is stored (internal use)
Publicly accessible URL to download/view the file
Base64-encoded file content for inline upload/download
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "isBlocked": "example", "icon": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "marketFileId": "example", "mimeType": "example", "fileSize": 1, "fileName": "example", "filePath": "example", "fileUrl": "example", "base64": "example" }}object
The display name of the custom integration (e.g., “My Store”, “Legacy System”)
Indicates whether this integration is blocked/disabled. Set to “true” to disable, “false” or null to enable
object
External marketplace-specific file identifier (if applicable)
MIME type of the file (e.g., “image/png”, “application/pdf”)
Size of the file in bytes
Name of the file including extension (e.g., “logo.png”, “document.pdf”)
Server-side path where the file is stored (internal use)
Publicly accessible URL to download/view the file
Base64-encoded file content for inline upload/download
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "isBlocked": "example", "icon": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "marketFileId": "example", "mimeType": "example", "fileSize": 1, "fileName": "example", "filePath": "example", "fileUrl": "example", "base64": "example" }}object
The display name of the custom integration (e.g., “My Store”, “Legacy System”)
Indicates whether this integration is blocked/disabled. Set to “true” to disable, “false” or null to enable
object
External marketplace-specific file identifier (if applicable)
MIME type of the file (e.g., “image/png”, “application/pdf”)
Size of the file in bytes
Name of the file including extension (e.g., “logo.png”, “document.pdf”)
Server-side path where the file is stored (internal use)
Publicly accessible URL to download/view the file
Base64-encoded file content for inline upload/download
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "isBlocked": "example", "icon": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "marketFileId": "example", "mimeType": "example", "fileSize": 1, "fileName": "example", "filePath": "example", "fileUrl": "example", "base64": "example" }}object
The display name of the custom integration (e.g., “My Store”, “Legacy System”)
Indicates whether this integration is blocked/disabled. Set to “true” to disable, “false” or null to enable
object
External marketplace-specific file identifier (if applicable)
MIME type of the file (e.g., “image/png”, “application/pdf”)
Size of the file in bytes
Name of the file including extension (e.g., “logo.png”, “document.pdf”)
Server-side path where the file is stored (internal use)
Publicly accessible URL to download/view the file
Base64-encoded file content for inline upload/download
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "isBlocked": "example", "icon": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "marketFileId": "example", "mimeType": "example", "fileSize": 1, "fileName": "example", "filePath": "example", "fileUrl": "example", "base64": "example" }}Responses
Section titled “Responses”Integration was successfully updated
object
The display name of the custom integration (e.g., “My Store”, “Legacy System”)
Indicates whether this integration is blocked/disabled. Set to “true” to disable, “false” or null to enable
object
External marketplace-specific file identifier (if applicable)
MIME type of the file (e.g., “image/png”, “application/pdf”)
Size of the file in bytes
Name of the file including extension (e.g., “logo.png”, “document.pdf”)
Server-side path where the file is stored (internal use)
Publicly accessible URL to download/view the file
Base64-encoded file content for inline upload/download
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "isBlocked": "example", "icon": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "marketFileId": "example", "mimeType": "example", "fileSize": 1, "fileName": "example", "filePath": "example", "fileUrl": "example", "base64": "example" }}Invalid request data or attempting to update non-custom integration
User is not authenticated or authorized
User does not have permission to update integrations
Integration with the specified ID was not found