接口:获取购物车
接口:获取购物车
接口详情
获取购物车
zodram api
GET
接口地址
| 正式环境(prod) | https://zodream.cn/open/shop/cart |
|
| 本地环境(dev) | http://zodream.localhost/open/shop/cart |
Header参数
| 字段键 | 字段值 | 备注说明 |
|---|
请求参数
| 字段别名 | 字段含义 | 字段类型 | 是否必填 | 默认值 | 备注说明 |
|---|
响应参数
| 字段别名 | 字段含义 | 字段类型 | MOCK规则 | 备注说明 |
|---|---|---|---|---|
| data | data | 数组(array) | ||
| ᅡ name | name | 字符串(string) | ||
| ᅡ goods_list | goods_list | 数组(array) | ||
| ᅡー goods | goods | 对象(object) | ||
| ᅡーー id | id | 数字(number) | ||
| ᅡーー name | name | 字符串(string) | ||
| ᅡーー series_number | series_number | 字符串(string) | ||
| ᅡーー thumb | thumb | 字符串(string) | ||
| ᅡーー price | price | 浮点型(float) | ||
| ᅡーー weight | weight | 数字(number) | ||
| ᅡーー stock | stock | 数字(number) | ||
| ᅡーー market_price | market_price | 浮点型(float) | ||
| ᅡーー shop | shop | 字符串(string) | ||
| ᅡーー url | url | 字符串(string) | ||
| ᅡーー wap_url | wap_url | 字符串(string) | ||
| ᅡー id | id | 数字(number) | ||
| ᅡー type | type | 数字(number) | ||
| ᅡー user_id | user_id | 数字(number) | ||
| ᅡー goods_id | goods_id | 数字(number) | ||
| ᅡー product_id | product_id | 数字(number) | ||
| ᅡー amount | amount | 数字(number) | ||
| ᅡー price | price | 浮点型(float) | ||
| ᅡー is_checked | is_checked | 布尔型(boolean) | ||
| ᅡー selected_activity | selected_activity | 数字(number) | ||
| ᅡー attribute_id | attribute_id | 字符串(string) | ||
| ᅡー attribute_value | attribute_value | 字符串(string) | ||
| ᅡー expired_at | expired_at | 数字(number) | ||
| subtotal | subtotal | 对象(object) | ||
| ᅡ total | total | 浮点型(float) | ||
| ᅡ total_weight | total_weight | 数字(number) | ||
| ᅡ original_total | original_total | 浮点型(float) | ||
| ᅡ discount_amount | discount_amount | 数字(number) | ||
| ᅡ count | count | 数字(number) | ||
| checkout_button | checkout_button | 对象(object) | ||
| ᅡ action | action | 字符串(string) | ||
| ᅡ text | text | 字符串(string) | ||
| promotion_cell | promotion_cell | 数组(array) | ||
| ᅡ popup_tip | popup_tip | 字符串(string) | ||
| ᅡ link | link | 对象(object) | ||
| ᅡー text | text | 字符串(string) | ||
| ᅡー url | url | 字符串(string) |
返回示例