Returns estimated execution cost plus task-level creator fee. Final settlement follows actual LoomLoom execution cost plus billable task count times task_fixed_fee_t.
请求参数 参数 位置 / 类型 说明 marketListing必填 path / any Market listing ID
请求体 · 必填 Quote request
application/json 字段 类型 说明 inputRowsarray 展开结构 listingVersionIdstring paymentPreferencestring
{
"inputRows": [
{}
],
"listingVersionId": "string",
"paymentPreference": "string"
}请求示例 参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。
cURL Python JavaScript
curl -X POST 'https://loomloom.shengsuanyun.com/loom/v1/marketListings/{marketListing}:quote' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
--data '{
"inputRows": [
{}
],
"listingVersionId": "string",
"paymentPreference": "string"
}'响应 200 OKapplication/json 字段 类型 说明 currencystring effectiveCreatorFeeobject 展开结构 字段 类型 说明 amount必填 string currency必填 string
effectivePaymentModestring entitlementExpiresAtstring estimatedBuyerPayableobject 展开结构 字段 类型 说明 amount必填 string currency必填 string
estimatedBuyerPayableTinteger estimatedExecutionCostobject 展开结构 字段 类型 说明 amount必填 string currency必填 string
estimatedExecutionCostTinteger listingVersionIdstring pricingRuleVersionstring purchaseOptionsarray 展开结构 array
数组元素 字段 类型 说明 bundleIdstring bundleNamestring revisioninteger tiersarray 展开结构 array
数组元素 字段 类型 说明 durationDaysinteger enabledboolean priceobject 展开结构 字段 类型 说明 amount必填 string currency必填 string
tierTypestring
quoteIdstring requiresPaymentChoiceboolean taskCountinteger taskFixedFeeobject 展开结构 字段 类型 说明 amount必填 string currency必填 string
taskFixedFeeTinteger
{
"currency": "string",
"effectiveCreatorFee": {
"amount": "1.7027920",
"currency": "CNY"
},
"effectivePaymentMode": "string",
"entitlementExpiresAt": "string",
"estimatedBuyerPayable": {
"amount": "1.7027920",
"currency": "CNY"
},
"estimatedBuyerPayableT": 0,
"estimatedExecutionCost": {
"amount": "1.7027920",
"currency": "CNY"
},
"estimatedExecutionCostT": 0,
"listingVersionId": "string",
"pricingRuleVersion": "string",
"purchaseOptions": [
{
"bundleId": "string",
"bundleName": "string",
"revision": 0,
"tiers": [
{
"durationDays": 0,
"enabled": false,
"price": {
"amount": "1.7027920",
"currency": "CNY"
},
"tierType": "string"
}
]
}
],
"quoteId": "string",
"requiresPaymentChoice": false,
"taskCount": 0,
"taskFixedFee": {
"amount": "1.7027920",
"currency": "CNY"
},
"taskFixedFeeT": 0
}400 Bad Requestapplication/json 字段 类型 说明 codestring errorstring
{
"code": "string",
"error": "string"
}401 Unauthorizedapplication/json 字段 类型 说明 codestring errorstring
{
"code": "string",
"error": "string"
}500 Internal Server Errorapplication/json 字段 类型 说明 codestring errorstring
{
"code": "string",
"error": "string"
}