from openapi import SDK
with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.search.text_store.create_text_store(x_api_key_id="<id>", x_user_id="<id>", x_exchange_jwt_external_user_id="<id>", store_name="product_catalog", dimension=3)
# Handle response
print(res){
"message": "Text store created successfully",
"store_name": "product_catalog"
}Criar uma nova loja de textos
from openapi import SDK
with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.search.text_store.create_text_store(x_api_key_id="<id>", x_user_id="<id>", x_exchange_jwt_external_user_id="<id>", store_name="product_catalog", dimension=3)
# Handle response
print(res){
"message": "Text store created successfully",
"store_name": "product_catalog"
}Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Esta página foi útil?