Using the Item Schema API
Last updated
Last updated
POST
https://items.attraqt.io/item-schemas
tenant*
string
environment*
string
fhrValidation
String
True/false. Enforces specific validation to comply with the Fredhopper data model
Authorization*
string
Bearer token containing the following permission:
itemSchema*
object
itemSchema
ITEM_SCHEMA_TENANT_ENV
Tenant and Environment are required
ITEM_SCHEMA_NAME
Name required
ITEM_SCHEMA_VERSION
version should not be set when creating a itemSchema
ITEM_SCHEMA_ATTRIBUTES
schema contains an invalid attribute
The schema version is managed by the API, don't include it on creation. When you create an item schema the version is set to 1.
PUT
https://items.attraqt.io/item-schemas/{name}
This endpoint allows you to update an existing item schema.
name*
string
tenant*
string
environment*
string
fhrValidation
String
True/false. Enforces specific validation to comply with the Fredhopper data model
Authorization*
string
Bearer token containing the following permission:
itemSchema*
string
itemSchema to update
DELETE
https://items.attraqt.io/item-schemas/{name}/{version}
name*
string
Name of itemSchema to delete.
version*
integer
โVersion of itemSchema to delete.
tenant*
string
environment*
string
Authorization*
string
Bearer token containing the following permission:
GET
/item-schemas/{name}/{version}
Get a full item schema by providing its slug and version.
name*
string
Name of itemSchema to get.
version*
integer
โVersion of itemSchema to get.
tenant*
string
environment*
string
Authorization*
string
Bearer token containing the following permission: