AttributeScopes

Attribute scopes are used to organize your attributes in different scopes, so you can easily work with collections of attributes based on their attribute scopes. If for example you want to render a table with all technical specifications for a product on your website, what are the technical specification attributes? By adding the technical specifications attributes to a specific attribute scope, your can easily find the collection of attributes to render in this table.

Get all attribute scopes in the system

get
Authorizations
AuthorizationstringRequired
Responses
200

OK

application/json
get
/v1/attributescopes
200

OK

Create an attribute scope

post
Authorizations
AuthorizationstringRequired
Body

Use attribute scopes to segment your attributes into different scopes for different purposes

Uidstring · uuidOptional

Unique id of scope

Aliasstring | nullableOptional

Unique alias of scope used to be easily identifiable by humans

Responses
200

OK

No content

post
/v1/attributescopes

No content

Update an attribute scope

put
Authorizations
AuthorizationstringRequired
Body

Use attribute scopes to segment your attributes into different scopes for different purposes

Uidstring · uuidOptional

Unique id of scope

Aliasstring | nullableOptional

Unique alias of scope used to be easily identifiable by humans

Responses
200

OK

No content

put
/v1/attributescopes

No content

Delete an attribute scope

delete

Attribute scopes can only be deleted if no attributes reference the scope

Authorizations
AuthorizationstringRequired
Query parameters
uidstring · uuidOptional

Unique id of attribute scope to delete

Responses
200

OK

No content

delete
/v1/attributescopes

No content

Get a attribute scope from its uid

get
Authorizations
AuthorizationstringRequired
Path parameters
uidstring · uuidRequired

Unique id of attribute scope to get

Responses
200

OK

application/json
get
/v1/attributescopes/{uid}

Get uids of attributes in scopes

post
Authorizations
AuthorizationstringRequired
Body

Wrapper for attribute scope attributes batch query

AttributeScopeUidsstring · uuid[] | nullableOptional

Attribute scope uids to request attributes for

Responses
200

OK

application/json
post
/v1/attributescopes/batch/attributes
200

OK

Last updated