Update an integration

PATCH {{baseUrl}}/integrations/:id

Updating an integration's settings

You can update the settings for the integration by making a PATCH request to our integration endpoint and including your integration id as the path parameter. Using this endpoint, you can change the webshop name and URL, edit the list of carriers you want to enable for service point delivery, and enable/disable service point delivery by setting service_point_enabled to true or false.

You can obtain an integration id via the Retrieve your list of integrations endpoint.

Request Body

{"shop_name"=>"<string>", "shop_url"=>"<uri>", "last_updated_at"=>"<dateTime>", "service_point_enabled"=>"<boolean>", "service_point_carriers"=>["<string>", "<string>"], "webhook_active"=>"<boolean>", "webhook_url"=>"<uri>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;shop_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;shop_url&quot;:&quot;\u003curi\u003e&quot;,&quot;last_updated_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;service_point_enabled&quot;:&quot;\u003cboolean\u003e&quot;,&quot;service_point_carriers&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;webhook_active&quot;:&quot;\u003cboolean\u003e&quot;,&quot;webhook_url&quot;:&quot;\u003curi\u003e&quot;}