Memperbarui pengaturan perdagangan untuk nomor telepon.
Deskripsi operasi
API ini dibatasi hingga 10 kueri per detik (QPS) untuk setiap pengguna. Jika Anda melebihi batas ini, panggilan API akan dibatasi, yang dapat memengaruhi bisnis Anda. Panggil API ini dalam batas yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:UpdateCommerceSetting |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CustSpaceId |
string |
Yes |
ID Space dari sub-pelanggan Independent Software Vendor (ISV). |
29348393884**** |
| PhoneNumber |
string |
Yes |
Nomor telepon. |
1380000**** |
| CartEnable |
boolean |
Yes |
Menentukan apakah akan mengaktifkan keranjang belanja. Nilai yang valid:
|
true |
| CatalogVisible |
boolean |
Yes |
Menentukan apakah akan mengaktifkan katalog produk. Nilai yang valid:
|
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Objek yang dikembalikan. |
||
| AccessDeniedDetail |
string |
Detail tentang penolakan akses. |
None |
| Message |
string |
Pesan respons. Parameter ini dikembalikan saat terjadi kesalahan. |
None |
| RequestId |
string |
ID permintaan. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Code |
string |
Kode status permintaan.
|
OK |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil.
|
true |
Contoh
Respons sukses
JSONformat
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Code": "OK",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Product.Unsubscript | You have not subscribed to the specified product. | |
| 400 | Ram.PermissionDeny | You are not authorized to perform the operation. | |
| 400 | System.LimitControl | The system is under flow control. | |
| 400 | Unknown.ResourceOwnerId | The resource does not belong to the current user. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.