Zalo — Shop
List shop categories — zalo.list_categories
List the shop's product categories.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | no | yes | — |
Input
No input.
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Create shop category — zalo.create_category
Create a product category.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | medium | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | Category name. |
description | string | no |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Update shop category — zalo.update_category
Update a product category.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | medium | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
name | string | no | Category name. |
description | string | no |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Delete shop category — zalo.delete_category
Delete a product category.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | high | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
List products — zalo.list_products
List the shop's products, up to 50 per request.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | no | yes | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
offset | integer | yes | Min 0. |
limit | integer | yes | Min 1. Max 50. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Get product — zalo.get_product
Get one product.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | no | yes | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Search products — zalo.search_products
Search products by code.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | no | yes | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
code | string | yes | Product code (SKU). |
offset | integer | no | Min 0. |
limit | integer | no | Min 1. Max 50. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Create product — zalo.create_product
Create a product.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | medium | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | Product name. |
code | string | yes | Product code (SKU). |
description | string | no | |
price | number | yes | Min 0. |
photos | array of string | no | Photo URLs from upload_product_photo. |
cate_ids | array of string | no | Category IDs. |
status | string | no | Product status. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Update product — zalo.update_product
Update a product.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | medium | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
name | string | no | Product name. |
code | string | no | Product code (SKU). |
description | string | no | |
price | number | no | Min 0. |
photos | array of string | no | Photo URLs from upload_product_photo. |
cate_ids | array of string | no | Category IDs. |
status | string | no | Product status. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Delete product — zalo.delete_product
Delete a product.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | high | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
List product types — zalo.list_product_types
List product types the shop supports.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | no | yes | — |
Input
No input.
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Upload product photo — zalo.upload_product_photo
Upload a product photo (max 1 MB). Returns the photo URL for create_product.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | medium | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
file_url | string | yes | HTTPS URL of the file to upload (max 1000000 bytes). Pattern: ^https://. |
file_name | string | no | File name to send to Zalo. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
List orders — zalo.list_orders
List shop orders, up to 50 per request.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | no | yes | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
status | string | no | Order status. |
offset | integer | yes | Min 0. |
limit | integer | yes | Min 1. Max 50. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Get order — zalo.get_order
Get one order.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | no | yes | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |
Update order status — zalo.update_order_status
Set the status of one or more orders.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | medium | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
ids | array of string | yes | |
status | string | yes | New order status. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo response data. |