CreatorStoreProduct

属性

pathstring
basePriceobject
purchasePriceobject
publishedboolean
restrictionsarray<enum>
出力のみ
purchasableboolean
出力のみ

以下のうちの一つの seller:

userSellerstring
出力のみ
groupSellerstring
出力のみ

以下のうちの一つの productType:

modelAssetIdstring
不変
pluginAssetIdstring
不変
audioAssetIdstring
不変
decalAssetIdstring
不変
meshPartAssetIdstring
不変
videoAssetIdstring
不変
fontFamilyAssetIdstring
不変
ベース URL

https://apis.roblox.com/cloud
CreatorStoreProduct リソース

{
"path": "creator-store-products/ProductNamespace-ProductType-123",
"basePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"purchasePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"published": true,
"restrictions": [
"RESTRICTION_UNSPECIFIED"
],
"purchasable": true,
"userSeller": "string",
"modelAssetId": "string"
}

CreatorStoreProduct

Create Creator Store Product
ベータ版

POST /cloud/v2/creator-store-products
範囲
creator-store-product:write
リクエストリクエスト本文CreatorStoreProduct
レスポンスCreatorStoreProduct
POST /cloud/v2/creator-store-products

curl -L -X POST 'https://apis.roblox.com/cloud/v2/creator-store-products' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"basePrice": { \
"currencyCode": "string", \
"quantity": { \
"significand": "integer", \
"exponent": "integer" \
} \
}, \
"purchasePrice": { \
"currencyCode": "string", \
"quantity": { \
"significand": "integer", \
"exponent": "integer" \
} \
}, \
"published": true, \
"modelAssetId": "string" \
}'
レスポンス

{
"path": "creator-store-products/ProductNamespace-ProductType-123",
"basePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"purchasePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"published": true,
"restrictions": [
"RESTRICTION_UNSPECIFIED"
],
"purchasable": true,
"userSeller": "string",
"modelAssetId": "string"
}

CreatorStoreProduct

Get Creator Store Product
ベータ版

GET /cloud/v2/creator-store-products/{creator-store-product}
範囲
creator-store-product:read
リクエストパスのパラメータ
creator-store-productstring
必須
レスポンスCreatorStoreProduct
GET /cloud/v2/creator-store-products/{creator-store-product}

curl -L -X GET 'https://apis.roblox.com/cloud/v2/creator-store-products/{creator-store-product}' \
-H 'x-api-key: {your-api-key}'
レスポンス

{
"path": "creator-store-products/ProductNamespace-ProductType-123",
"basePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"purchasePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"published": true,
"restrictions": [
"RESTRICTION_UNSPECIFIED"
],
"purchasable": true,
"userSeller": "string",
"modelAssetId": "string"
}

CreatorStoreProduct

Update Creator Store Product
ベータ版

PATCH /cloud/v2/creator-store-products/{creator-store-product}
範囲
creator-store-product:write
リクエストパスのパラメータ
creator-store-productstring
必須
クエリのパラメータ
updateMaskstring
allowMissingboolean
リクエスト本文CreatorStoreProduct
レスポンスCreatorStoreProduct
PATCH /cloud/v2/creator-store-products/{creator-store-product}

curl -L -X PATCH 'https://apis.roblox.com/cloud/v2/creator-store-products/{creator-store-product}?updateMask={string}&allowMissing={boolean}' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"basePrice": { \
"currencyCode": "string", \
"quantity": { \
"significand": "integer", \
"exponent": "integer" \
} \
}, \
"purchasePrice": { \
"currencyCode": "string", \
"quantity": { \
"significand": "integer", \
"exponent": "integer" \
} \
}, \
"published": true, \
"modelAssetId": "string" \
}'
レスポンス

{
"path": "creator-store-products/ProductNamespace-ProductType-123",
"basePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"purchasePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"published": true,
"restrictions": [
"RESTRICTION_UNSPECIFIED"
],
"purchasable": true,
"userSeller": "string",
"modelAssetId": "string"
}