CreatorStoreProduct
특성
pathstring
displayNamestring
descriptionstring
basePriceobject
purchasePriceobject
publishedboolean
restrictionsarray<enum>
purchasableboolean
다음 중 하나:
modelAssetIdstring
pluginAssetIdstring
audioAssetIdstring
decalAssetIdstring
meshPartAssetIdstring
videoAssetIdstring
fontFamilyAssetIdstring
다음 중 하나:
userSellerstring
groupSellerstring
기본 URL
https://apis.roblox.com/cloud
CreatorStoreProduct 리소스
{
"path": "creator-store-products/ProductNamespace-ProductType-123",
"displayName": "string",
"description": "string",
"basePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"purchasePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"published": true,
"restrictions": "string",
"purchasable": true,
"userSeller": "string",
"modelAssetId": "string"
}
CreatorStoreProduct
Create Creator Store Product
POST /cloud/v2/creator-store-products
범위creator-store-product:write
요청요청 본문CreatorStoreProductPOST /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 '{ \
"displayName": "string", \
"description": "string", \
"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",
"displayName": "string",
"description": "string",
"basePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"purchasePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"published": true,
"restrictions": "string",
"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필수
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",
"displayName": "string",
"description": "string",
"basePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"purchasePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"published": true,
"restrictions": "string",
"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
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 '{ \
"displayName": "string", \
"description": "string", \
"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",
"displayName": "string",
"description": "string",
"basePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"purchasePrice": {
"currencyCode": "string",
"quantity": {
"significand": "integer",
"exponent": "integer"
}
},
"published": true,
"restrictions": "string",
"purchasable": true,
"userSeller": "string",
"modelAssetId": "string"
}