Retrieves products in a catalog.
Operation description
This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
cams:ListProduct | list | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
CatalogId | string | Yes | The catalog ID. You can get it from the Meta platform. | 2939838xxxx |
Fields | string | No | A list of fields to return. Separate multiple fields with a comma (,). For more information, see Product fields. | id,name |
Before | string | No | The cursor that points to the end of the previous page of results. | wiidkd939kek93 |
After | string | No | The cursor that points to the start of the next page of results. | kdkii48jfjjei3 |
Limit | integer | No | The number of items to return. Valid values: 1 to 1000. | 73 |
CustSpaceId | string | No | The Space ID of the ISV sub-customer. | C2939838xxxx |
WabaId | string | Yes | The WhatsApp Business Account (WABA) ID. | 3848747xxxx |
Response elements
Element | Type | Description | Example |
object | |||
AccessDeniedDetail | string | Details about the access denial. | None |
Message | string | The message returned if the request fails. | None |
RequestId | string | The request ID. | 90E63D28-E31D-1EB2-8939-A94866411B2O |
| Model | object | The data returned. | |
| Paging | object | Paging details. | |
| Cursors | object | The cursors for paging. | |
Before | string | The cursor that points to the previous page. | sjjsjdjjdjd83883 |
After | string | The cursor that points to the next page. | sjsuueu83838 |
| Data | array<object> | The returned data. | |
object | Product data. | {"id":"293983883", "name":"product1"} | |
Code | string | The request status code.
| OK |
Success | boolean | Indicates whether the request was successful.
| true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Model": {
"Paging": {
"Cursors": {
"Before": "sjjsjdjjdjd83883",
"After": "sjsuueu83838"
}
},
"Data": [
{
"id": "293983883",
"name": "product1"
}
]
},
"Code": "OK",
"Success": true
}Error codes
See for a complete list.
Release notes
See 变更详情 for a complete list.