curl --request PATCH \
--url https://panel.sendcloud.sc/api/v2/integrations/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"shop_name": "Integration #1",
"shop_url": "https://example.com",
"last_updated_at": "2019-08-24T14:15:22Z",
"service_point_enabled": true,
"service_point_carriers": [
"ups"
],
"webhook_active": true,
"webhook_url": "https://example.com"
}
'{
"shop_name": "Integration #1",
"shop_url": "https://example.com",
"last_updated_at": "2019-08-24T14:15:22Z",
"service_point_enabled": true,
"service_point_carriers": [
"ups"
],
"webhook_active": true,
"webhook_url": "https://example.com"
}Integrations API
Partially update an integration
Partially update settings for a specific integration using its id.
PATCH
/
integrations
/
{id}
curl --request PATCH \
--url https://panel.sendcloud.sc/api/v2/integrations/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"shop_name": "Integration #1",
"shop_url": "https://example.com",
"last_updated_at": "2019-08-24T14:15:22Z",
"service_point_enabled": true,
"service_point_carriers": [
"ups"
],
"webhook_active": true,
"webhook_url": "https://example.com"
}
'{
"shop_name": "Integration #1",
"shop_url": "https://example.com",
"last_updated_at": "2019-08-24T14:15:22Z",
"service_point_enabled": true,
"service_point_carriers": [
"ups"
],
"webhook_active": true,
"webhook_url": "https://example.com"
}OAuth2 scopes required:
write:integration. See Scopes for OAuth apps.API v2 is entering maintenance mode. New users should start with API v3 to access our latest features and improved performance. Already using v2? Don’t worry, your current integration remains fully functional. Read more about maintenance mode, or check out the migration guide for API v3.
service_point_enabled to true or false.
Unlike the Update an integration endpoint, you can send only the fields you want to update.
You can obtain an integration id via the Retrieve a list of integrations endpoint.Authorizations
HTTPBasicAuthOAuth2ClientCreds
Body
application/json
An updated integration response object
Response
OK
An updated integration response object