Shop Builder API (2.0.0)
- Version: 2.0.0
- Servers:
https://store.xsolla.com/api - Contact Us by Email
- Contact URL: https://xsolla.com/
- Required TLS version: 1.2
Shop Builder API provides a third-party solution for implementing the server side for your store interface. Use the endpoints to manage in-game items, in-game currencies, cart, player inventory, promotions, game library, etc.
개인 맞춤형 카탈로그
이 API를 사용하여 사용자 특성에 대한 규칙을 지정할 수 있습니다. 사용자가 구체적인 규칙에 대한 모든 조건을 충족하면 개인 맞춤형 아이템이 표시됩니다.
개인 맞춤형 프로모션에 대한 내용은 프로모션 섹션을 참조하십시오.
구매 전에 특성을 전달하려면 엑솔라 로그인 API를 사용하거나 페이 스테이션 API를 사용하여 토큰을 생성하는 동안 user.attributes 특성으로 특성을 전달할 수 있습니다.
- Mock serverhttps://xsolla.redocly.app/_mock/ko/api/shop-builder/v2/project/{project_id}/admin/user/attribute/rule/{rule_id}
- https://store.xsolla.com/api/v2/project/{project_id}/admin/user/attribute/rule/{rule_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
-u <username>:<password> \
https://xsolla.redocly.app/_mock/ko/api/shop-builder/v2/project/44056/admin/user/attribute/rule/1- Mock serverhttps://xsolla.redocly.app/_mock/ko/api/shop-builder/v2/project/{project_id}/admin/user/attribute/rule/{rule_id}
- https://store.xsolla.com/api/v2/project/{project_id}/admin/user/attribute/rule/{rule_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://xsolla.redocly.app/_mock/ko/api/shop-builder/v2/project/44056/admin/user/attribute/rule/1규칙을 성공적으로 수신했습니다.
사용자 특성 검증 조건. 사용자 특성이 지정된 모든 조건과 일치하는지 여부에 따라 카탈로그의 아이템 가용성을 결정합니다.
사용자 특성 코드입니다.
사용자 특성에서 특성이 누락된 경우에도 조건이 충족됨을 나타냅니다. 이 특성이 없는 사용자에게 항목을 표시하려면 true를 전달하십시오. 특성이 있지만 값이 조건에 지정된 값과 일치하지 않는 사용자는 항목을 볼 수 없습니다. false - 특성이 있지만 값이 조건에 지정된 값과 일치하지 않거나 특성이 누락된 사용자는 항목을 볼 수 없습니다.
조건에 따라 수행하는 작업 유형입니다. string 특성 유형에 해당합니다.
| 열거형 값 | 설명 |
|---|---|
| eq | 같음 |
| ne | 같지 않음 |
사용자 특성 유형입니다.
인증되지 않은 사용자에게 아이템이 표시되는지 여부입니다. true이면 카탈로그 표시 규칙에 관계없이 인증되지 않은 사용자에게 아이템이 표시됩니다. 기본값은 false입니다.
{ "attribute_conditions": [ { … } ], "is_enabled": true, "is_satisfied_for_unauth": true, "items": [ { … } ], "name": "Ork race armor rule", "rule_id": 1 }
사용자 특성 검증 조건. 사용자 특성이 지정된 모든 조건과 일치하는지 여부에 따라 카탈로그의 아이템 가용성을 결정합니다.
인증되지 않은 사용자에게 아이템이 표시되는지 여부입니다. true이면 카탈로그 표시 규칙에 관계없이 인증되지 않은 사용자에게 아이템이 표시됩니다. 기본값은 false입니다.
- Mock serverhttps://xsolla.redocly.app/_mock/ko/api/shop-builder/v2/project/{project_id}/admin/user/attribute/rule/{rule_id}
- https://store.xsolla.com/api/v2/project/{project_id}/admin/user/attribute/rule/{rule_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
-u <username>:<password> \
https://xsolla.redocly.app/_mock/ko/api/shop-builder/v2/project/44056/admin/user/attribute/rule/1 \
-H 'Content-Type: application/json' \
-d '{
"is_enabled": false
}'