v50

latestOpenAPI 3.0.0raw.githubusercontent.com2026-05-143124255.4 KB
Schemas

Get full schema

Retrieves the full profile schema, including custom fields.

Learn more about the Profile System and its other API endpoints.

⚠️ The Profile System is only compatible with stores using the PII data architecture from Data Protection Plus, which is in closed beta phase, only available in select regions.

This feature is part of VTEX Shield. If you are already a VTEX customer and want to adopt VTEX Shield for your business, please contact Commercial Support. Additional fees may apply. If you are not yet a customer but are interested in this solution, please complete our contact form.

Permissions

Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise they will receive a status code 403 error. These are the applicable resources for this endpoint:

ProductCategoryResource
Profile SystemDocumentsGet Item
Profile SystemDocumentsSave and Update Item
Profile SystemDocumentsDelete Item

There are no applicable predefined roles for this resource list. You must create a custom role and add at least one of the resources above in order to use this endpoint.To learn more about machine authentication at VTEX, see Authentication overview.

❗ To prevent integrations from having excessive permissions, consider the best practices for managing API keys when assigning License Manager roles to integrations.

get/api/storage/profile-system/schemas/profileSystem

Headers

Content-Typestring required
Example:application/json

Type of the content being sent.

Acceptstring required
Example:application/json

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Response

OK

titlestring required

Schema title.

typestring required

Schema type.

descriptionstring required

Schema's human readable description.

requiredstring[] required

Schema required fields.

documentTTLinteger

Document time to live, in days. After this many days from its creation or update, any document cerated from this schema will be deleted.

versioninteger

Schema version.

v-indexedstring[]

List of fields to be indexed.

v-uniquestring[]

List of fields that must be unique.