API

Menambahkan item ke koleksi TOP-10 atau menghapusnya dari koleksi

POST/api/crm/v2/items.toggle_popularv2
operationId: items.togglePopular

Otorisasi

api-token + language + role

Parameter permintaan

branch_idintegerwajib

Contoh: 5

Isi permintaan application/json

object
idintegerwajib

Contoh: 1

activebooleanwajib

Contoh: true

Tanggapan

OK

object (Response)
statusstringwajib

Nilai:successerror

Contoh: success

Salah satu pilihan
object

Informasi tentang kesalahan

errorobjectwajib
codeintegerwajib

Kode kesalahan

variablesobject
descriptionstringwajib

Deskripsi kesalahan