获取产品类型列表
正式环境
正式环境
GET
/store/product-types
Store API/Product TypesProduct Types
value
或 q
之类的字段进行过滤。产品类型也可以排序或分页。请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apifoxmock.com/m1/4997831-4656773-default/store/product-types'
响应示例响应示例
200 - 示例 1
{
"count": 0,
"offset": 0,
"limit": 0,
"product_types": [
{
"id": "ptyp_01G8X9A7ESKAJXG2H0E6F1MW7A",
"value": "Clothing",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"metadata": {
"car": "white"
}
}
]
}
请求参数
Query 参数
limit
integer
可选
offset
integer
可选
order
string
可选
discount_condition_id
string
可选
value
array[string]
按类型值过滤。
id
array[string]
按 ID 过滤。
q
string
可选
lt
array[string]
可选
示例值:
["",""]
gt
array[string]
可选
示例值:
["",""]
lte
array[string]
可选
示例值:
["",""]
gte
array[string]
可选
示例值:
["",""]
返回响应
修改于 2024-09-20 08:34:42