本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
option
as a path parameter.products.read
- Products Read OnlyAuthorization: Bearer ********************
curl --location --request GET 'https://echo.apifox.com/anything/products/options/'
radio
button or checkbox
{
"status": 200,
"success": true,
"data": {
"id": 1561181168,
"name": "المنشأ",
"description": null,
"type": "radio",
"required": false,
"associated_with_order_time": 0,
"sort": null,
"display_type": "text",
"visibility": "always",
"values": [
{
"id": 931990227,
"name": "مصري",
"price": {
"amount": 1.5,
"currency": "SAR"
},
"display_value": "",
"option_id": 1561181168,
"image_url": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"hashed_display_value": ""
},
{
"id": 23734748,
"name": "لبناني",
"price": {
"amount": 3,
"currency": "SAR"
},
"display_value": "",
"option_id": 1561181168,
"image_url": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"hashed_display_value": ""
}
],
"skus": [
{
"id": 461881338,
"price": {
"amount": 7.5,
"currency": "SAR"
},
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"stock_quantity": 20,
"barcode": "",
"sku": "23-TD23-32",
"related_option_values": [
931990227
]
},
{
"id": 1970069243,
"price": {
"amount": 7.5,
"currency": "SAR"
},
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"stock_quantity": 20,
"barcode": "",
"sku": "23-TD23-32",
"related_option_values": [
23734748
]
}
]
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升