API

Ubah pengaturan integrasi dengan sistem otomasi

POST/api/crm/v2/integration_automations.updatev2
operationId: integrationAutomations.update

Mengubah pengaturan. Field sensitif dienkripsi sebelum disimpan, field IP dan URL divalidasi. File katalog yang diunggah memicu impor paksa; jika terjadi error 385 (impor cabang sedang berlangsung) dan 397 (terlalu banyak impor paksa berjalan), pengaturan tetap disimpan tetapi file tidak diimpor.

Otorisasi

api-token + language + role

Parameter permintaan

branch_idintegerwajib

Contoh: 1

Isi permintaan multipart/form-data

Bidang koneksi bersifat dinamis, lihat list[].fields: template kunci ${field}. Kunci bidang titik pickup — pickup_data_${pickup_id}_terminal, kunci bidang distrik — district_data_${district_id}_terminal, district_data_${district_id}_delivery; id 0 — pengaturan default. Panjang maksimum string — 250 karakter.

object
Salah satu pilihan
object
automation_idintegerwajib

Contoh: 1

automation_error_notifications_enabledboolean

Contoh: true

phone_clean_enabledboolean

Contoh: true

phone_plus_delete_enabledboolean

Contoh: true

phone_space_delete_enabledboolean

Contoh: true

qr_bar_code_enabledboolean

Contoh: true

callback_api_enabledboolean

Contoh: true

import_once_catalog_enabledboolean

Contoh: true

import_once_description_enabledboolean

Contoh: true

import_once_image_enabledboolean

Contoh: true

import_once_labels_enabledboolean

Contoh: true

Tanggapan

OK

object
statusstringwajib

Nilai:successerror

Contoh: success

dataobject