Update an integration
PUT {{baseUrl}}/integrations/:id
Updating an integration's settings
You can update the settings for the integration by making a PUT 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 or disable service point delivery by setting service_point_enabled
to true
or false
.
You can obtain an integration
id
via theRetrieve 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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"shop_name":"\u003cstring\u003e","shop_url":"\u003curi\u003e","last_updated_at":"\u003cdateTime\u003e","service_point_enabled":"\u003cboolean\u003e","service_point_carriers":["\u003cstring\u003e","\u003cstring\u003e"],"webhook_active":"\u003cboolean\u003e","webhook_url":"\u003curi\u003e"}